Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello All,
I need help on below logic.
I have report where I am having data like below.
My requirement is in the report side I created a table having 3 values USA , UK and IND and then showing in slicer to select.
Now If I select slicer value as USA I need to show [USA/UK/IND] filed value as USA
If I select slicer value as UK I need to show [USA/UK/IND] filed value as UK
If I select slicer value as IND I need to show [USA/UK/IND] filed value as IND.
I created a measure like this and kept in filters of visuals to select 1 .
But its not working
1st Approach : ( Create a measure)
2nd approach: ( Create a column)
I created a column like this and kept in filters.
But its not working
Solved! Go to Solution.
Hi @Sathvik123 ,
I created a sample pbix file(see the attachment), please check if that is what you want.
1. Create a measure as below
Picker filter =
VAR _selcountry =
ALLSELECTED ( 'Country'[Country] )
VAR _seluui =
SELECTEDVALUE ( 'GSD Stats'[USA/UK/IND] )
RETURN
IF ( _seluui IN _selcountry, 1, 0 )
2. Create a table visual and apply a visual-level filter on the visaul with the condition(Picker filter is 1)
Best Regards
Hi @Sathvik123 ,
I created a sample pbix file(see the attachment), please check if that is what you want.
1. Create a measure as below
Picker filter =
VAR _selcountry =
ALLSELECTED ( 'Country'[Country] )
VAR _seluui =
SELECTEDVALUE ( 'GSD Stats'[USA/UK/IND] )
RETURN
IF ( _seluui IN _selcountry, 1, 0 )
2. Create a table visual and apply a visual-level filter on the visaul with the condition(Picker filter is 1)
Best Regards
hi @Sathvik123
are you expecting the field parameter?
https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
85 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |