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.
I have a simple report with Total results card. The default rule for the card is sum of column Message total result - 13 in this case.
But from first table, when a user selects a ConsumerID eg, Global university, Total results card should display 3 (from column Message message result).
If user selects both Global university and City university (holding control key after selecting Global university and selcting City university), the card should display 5 ( 3 + 2).
Similar performance is expected from selecting an Attoney from second table.
Message total result should be displayed only when there is no cross-filtrering - no selection from either table.
I need a DAX for this card.
Link to PBIX: https://drive.google.com/file/d/1n00TRLkwPz6IoBMuWYVm1-Y1X1cV0WAH/view?usp=sharing
Solved! Go to Solution.
Hey @Anonymous ,
I'm not sure if fully understand what you want. The explanation was not very clear for me.
I understood that you want only a value in the measure "Message TOTAL RESULT" when the table is not crossfiltered and no result when it's crossfiltered. Is that right?
In that case you can easily check if there is a crossfilter happening with the function ISCROSSFILTERED. If that's the case, return BLANK(), otherwise return the measure.
Hey @Anonymous ,
I'm not sure if fully understand what you want. The explanation was not very clear for me.
I understood that you want only a value in the measure "Message TOTAL RESULT" when the table is not crossfiltered and no result when it's crossfiltered. Is that right?
In that case you can easily check if there is a crossfilter happening with the function ISCROSSFILTERED. If that's the case, return BLANK(), otherwise return the measure.
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 |
---|---|
111 | |
95 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |