Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
I write a below dax code to highlight the Min and Max in the current fitler context.It works fine. But now i want to display the min max in splitted with importing country. Means each block of country's landed cost should highlight min max values. Please suggest
Highlighter =
VAR vTable =
CALCULATETABLE(
ADDCOLUMNS(
SUMMARIZE(
Consolidated, Consolidated[Supply Country], Consolidated[Supplier], Consolidated[RM Grade], Consolidated[Importing Country]),
"@value", [Landed in USD]
),
ALLSELECTED()
)
VAR MinValue = MINX( vTable, [@value])
VAR MaxValue = MAXX( vTable, [@value])
VAR CurrentValue = [Landed in USD]
VAR Result =
SWITCH( TRUE(),
CurrentValue = MinValue,1,
CurrentValue = MaxValue,2
)
RETURN
Result
Solved! Go to Solution.
I have achieved this.. thank you 🙂
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 65 | |
| 64 | |
| 49 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 119 | |
| 117 | |
| 38 | |
| 36 | |
| 29 |