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.
Hi all,
I am using the Chiclet slicer with two possible options (A, B) but using the Multiple Selection setting = ON and the Forced Selection setting = OFF.
I want to show the items that match on another table on the page.
This gives me four possibilities with the following required outputs
A on, B on - show all values
A on, B off - show just values where ColumnName = A
A off, B on - show just values where ColumnName = B
A off, B off - show nothing
Using IF( HASONEFILTER( ColumnName), COUNTROWS(etc etc), BLANK() ) enables me to achieve the last 3, but the first one (A on, B on) gives me no values. Same if I use HASONEVALUE().
If I have no wrapper function (i.e. just have COUNTROWS(etc etc) as the measure), then the first 3 work, but the last one (A off, B off) shows all the values.
Thanks in advance.
Solved! Go to Solution.
Hi @Anonymous,
Please try this formula:
Sales measure = IF ( ISFILTERED ( 'TableName'[ColumnName] ), COUNTROWS ( 'TableName'), BLANK () )
Best regards,
Yuliana Gu
Hi @Anonymous,
Please try this formula:
Sales measure = IF ( ISFILTERED ( 'TableName'[ColumnName] ), COUNTROWS ( 'TableName'), BLANK () )
Best regards,
Yuliana Gu
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 |
---|---|
113 | |
97 | |
79 | |
73 | |
56 |
User | Count |
---|---|
145 | |
105 | |
104 | |
90 | |
63 |