Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello,
Just a quick help here.
So I have this table.
And on my Report I summarize it by product and qty.
The one i got stuck is, i want to highlight the product that is the Highest Hour.
In this example the highest hour is Hour 5, and on hour 5, product E and F needs to be highlighted.
Let me know if this is possible.
Solved! Go to Solution.
You need to generate a column to hold the hour value in integer format, so that you can compare the max hour for each product to the overall max in your color measure.
For example
Color Measure = IF(MAX(Table[Hour]) = CALCULATE(MAX(Table[Hour]), ALL(Table[Product])), "Yellow", "White")
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Hi @Anonymous ,
Please check:
Measure 1 =
IF (
MAX ( 'Table'[Hour] )
= CALCULATE ( MAX ( 'Table'[Hour] ), ALLSELECTED ( 'Table'[Product] ) ),
"Yellow"
)
Measure 2 =
IF (
MAX ( 'Table'[Hour] )
= CALCULATE ( MAX ( 'Table'[Hour] ), ALLSELECTED ( 'Table'[Product] ) ),
1
)
Best regards
Icey
If this post helps, then consider Accepting it as the solution to help other members find it faster.
Hi @Anonymous ,
Please check:
Measure 1 =
IF (
MAX ( 'Table'[Hour] )
= CALCULATE ( MAX ( 'Table'[Hour] ), ALLSELECTED ( 'Table'[Product] ) ),
"Yellow"
)
Measure 2 =
IF (
MAX ( 'Table'[Hour] )
= CALCULATE ( MAX ( 'Table'[Hour] ), ALLSELECTED ( 'Table'[Product] ) ),
1
)
Best regards
Icey
If this post helps, then consider Accepting it as the solution to help other members find it faster.
You need to generate a column to hold the hour value in integer format, so that you can compare the max hour for each product to the overall max in your color measure.
For example
Color Measure = IF(MAX(Table[Hour]) = CALCULATE(MAX(Table[Hour]), ALL(Table[Product])), "Yellow", "White")
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
85 | |
66 | |
51 | |
45 |
User | Count |
---|---|
217 | |
89 | |
82 | |
66 | |
57 |