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 everyone! Please i need help!!
I need to create a card that contains a measure that is opposite related to a slicer.
For example, if i have a seller name selected on the slicer, i need the card to give me all the sales of the sales force EXCEPT the one selected on the slicer. How can i do that?
Solved! Go to Solution.
You can refer to the following example.
The sample table
Create a new table to put the employee to the table
Table 2 = SUMMARIZE('Table',[Employee])
Then put the new column to the slicer
and create a measure to the old table
Sum_Sales = IF(ISFILTERED('Table 2'[Employee]),CALCULATE(SUM('Table'[Sales]),FILTER('Table',[Employee]<>MAX('Table 2'[Employee]))),SUM('Table'[Sales]))
Output
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You can refer to the following example.
The sample table
Create a new table to put the employee to the table
Table 2 = SUMMARIZE('Table',[Employee])
Then put the new column to the slicer
and create a measure to the old table
Sum_Sales = IF(ISFILTERED('Table 2'[Employee]),CALCULATE(SUM('Table'[Sales]),FILTER('Table',[Employee]<>MAX('Table 2'[Employee]))),SUM('Table'[Sales]))
Output
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |