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,
Is it possible to create a slicer that can filter through millions and thousands? I divide my metrics by millions and thousands, only now I do not know how I can make this slicer or another way for the user to choose what they want to see values in millions or thousands.
Best regards
Solved! Go to Solution.
@Anonymous
Hi, you can create a disconnected table with this 2 rows : MIlions and Thousands and use it in a slicer.
And can you use this measure
Measure = SWITCH ( SELECTEDVALUE ( Units[Metric Unit] ), "Millions", DIVIDE ( SUM ( Table1[Value] ), 1000000 ), "Thousands", DIVIDE ( SUM ( Table1[Value] ), 1000 ) )
Regards
Victor
@Anonymous
Hi, you can create a disconnected table with this 2 rows : MIlions and Thousands and use it in a slicer.
And can you use this measure
Measure = SWITCH ( SELECTEDVALUE ( Units[Metric Unit] ), "Millions", DIVIDE ( SUM ( Table1[Value] ), 1000000 ), "Thousands", DIVIDE ( SUM ( Table1[Value] ), 1000 ) )
Regards
Victor
Hi, sorry to bother, but it is possible to add one more field. I want "A" as absolute value, "K" as thousands and "M" as millions. The Switch function only accepts two parameters
Best regards.
@Anonymous
Switch accept more than 2 parameters.
Review this link.
https://msdn.microsoft.com/en-us/query-bi/dax/switch-function-dax
Regards
Victor
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 |
---|---|
109 | |
98 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
110 | |
91 | |
84 | |
66 |