Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello,
there are 10 delivery schedules, they are ranked 1-10 (1 = current, 2=last,...)
I want to select 2 of them and compare them.
I am able to write a measure to compare for example Rank1 and Rank2.
My question:
I want to select 2 schedules (schedule A/schedule B). Ich want to compare selection A with selection B. How would this measure look like?
Thank you! Greetings from Austria
Veronika
Check if my solution satisfies your scenario.
slicer1 = VALUES('Table'[schedules]) slicer2 = VALUES('Table'[schedules])
selected value = CALCULATE ( SUM ( 'Table'[value] ), FILTER ( 'Table', 'Table'[schedules] = SELECTEDVALUE ( slicer1[schedules] ) || 'Table'[schedules] = SELECTEDVALUE ( slicer2[schedules] ) ) ) rank = IF ( MAX ( 'Table'[schedules] ) = SELECTEDVALUE ( slicer1[schedules] ) || MAX ( 'Table'[schedules] ) = SELECTEDVALUE ( slicer2[schedules] ), RANKX ( FILTER ( ALL ( 'Table' ), 'Table'[schedules] = SELECTEDVALUE ( slicer1[schedules] ) || 'Table'[schedules] = SELECTEDVALUE ( slicer2[schedules] ) ), [selected value], , ASC, DENSE ) )
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
76 | |
55 | |
37 | |
34 |
User | Count |
---|---|
99 | |
56 | |
53 | |
44 | |
40 |