The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello,
I need a DAX measure that will produce the column, DiffFromBlue, shown in Table 2. The column must display the difference in the Rating column from Tee Blue. For example, for Pebble Beach from the Black tee the difference is 2.9 or the Black Tee Rating (75.5) minus the Blue Tee Rating (72.6). Another example: for Spyglass Hill from the White tee the difference is -1.9 or the White Tee Rating (71.7) minus the Blue Tee Rating (73.6).
On the surface, this problem seems simple enough, but the solution escapes me.
Thank you for your time.
Solved! Go to Solution.
Hi @bob57 ,
If this is the outcome you wish for...
... then I have a possible solution for you:
DiffFromBlue = VAR _valueBlue = CALCULATE ( MAX ( TeaTable[Rating] ), ALLEXCEPT ( 'TeaTable', 'TeaTable'[CourseName] ), TeaTable[Tee] = "Blue" ) RETURN MAX ( TeaTable[Rating] ) - _valueBlue
Hope this helps! 🙂
/Tom
https://www.instagram.com/tackytechtom
Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
Also happily accepting Kudos 🙂 |
Feel free to connect with me on LinkedIn! | |
#proudtobeasuperuser | |
That did the trick! Thank you so much,
Bob
Hi @bob57 ,
If this is the outcome you wish for...
... then I have a possible solution for you:
DiffFromBlue = VAR _valueBlue = CALCULATE ( MAX ( TeaTable[Rating] ), ALLEXCEPT ( 'TeaTable', 'TeaTable'[CourseName] ), TeaTable[Tee] = "Blue" ) RETURN MAX ( TeaTable[Rating] ) - _valueBlue
Hope this helps! 🙂
/Tom
https://www.instagram.com/tackytechtom
Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
Also happily accepting Kudos 🙂 |
Feel free to connect with me on LinkedIn! | |
#proudtobeasuperuser | |
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
31 | |
11 | |
10 | |
10 | |
9 |