Тёмный

OR Conditions with Power BI Slicers 

Dance-Sing with Data Projects
Подписаться 1,1 тыс.
Просмотров 164
50% 1

☛Learn with Ritesh
learnwithrites...
☛Selectedvalue
learn.microsof...
☛Tableau Equivalent
community.tabl...
Create a New Measure:
Open your Power BI report or Excel workbook.
Go to the “Model” or “Data” view (depending on the tool you’re using).
Create a new measure (DAX expression) that will serve as your custom filter condition. You can do this by clicking on “New Measure” or similar options.
Write the DAX Expression:
In the DAX formula bar, write an expression that combines the slicer values using the OR operator (||). For example:
CustomFilter = [Slicer1] || [Slicer2]
Replace [Slicer1] and [Slicer2] with the actual names of your slicers.
Apply the Custom Filter:
Go back to your report or PivotTable.
Add a visual (e.g., a table, chart, or matrix) where you want to apply the custom filter.
Use the newly created measure (CustomFilter) as a filter condition for this visual.
Test the Behavior:
Interact with your slicers and observe how the custom filter behaves. Now, when you select values in either slicer, the visual will show data based on the OR condition.

Опубликовано:

 

8 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 4   
@Sirigineedi_Navann
@Sirigineedi_Navann 3 месяца назад
nice one bhai thanku so much
@dancesingwithdataprojects
@dancesingwithdataprojects 3 месяца назад
You are welcome
@amyperalt
@amyperalt 2 месяца назад
Good information, but it is not working for date slicers. Can you please explain how to use 3 different date slicers with OR clause
@PRATIKJOSHI-nm2jl
@PRATIKJOSHI-nm2jl 3 месяца назад
What If I wanted to select both East and Central in Slicer? I guess SELECTEDVALUE will not work here? Do you have any other solution?
Далее
DAX REVOLUTION!? Visual Calculations in Power BI
33:15
IT'S MY LIFE + WATER  #drumcover
00:14
Просмотров 24 млн
Using OR conditions between slicers in DAX
22:43
Просмотров 31 тыс.
Pros Use This Technique to Avoid PivotTables
6:38
Просмотров 116 тыс.
Button Slicer Enhancing the Power BI Visualization
8:28