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.
When a specific value is listed in multiple columns in Matrix visual, can I create a measure column by arithmetic on each column?
Take the below screenshot as an example
4000000 + 4010000 + 4020000 - 7010000 = Measure
Solved! Go to Solution.
Hi @HJK ,
You can present it as a card visual object.
(1)We can create a column.
rank = RANKX('Table','Table'[CostElement],,ASC,Dense)
(2)We can create a measure.
Measure =
var _1=CALCULATE(MAX('Table'[CostElement]),FILTER(ALL('Table'),'Table'[rank]=1))
var _2=CALCULATE(MAX('Table'[CostElement]),FILTER(ALL('Table'),'Table'[rank]=2))
var _3=CALCULATE(MAX('Table'[CostElement]),FILTER(ALL('Table'),'Table'[rank]=3))
var _4=CALCULATE(MAX('Table'[CostElement]),FILTER(ALL('Table'),'Table'[rank]=4))
return _1+_2+_3-_4
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @HJK ,
You can present it as a card visual object.
(1)We can create a column.
rank = RANKX('Table','Table'[CostElement],,ASC,Dense)
(2)We can create a measure.
Measure =
var _1=CALCULATE(MAX('Table'[CostElement]),FILTER(ALL('Table'),'Table'[rank]=1))
var _2=CALCULATE(MAX('Table'[CostElement]),FILTER(ALL('Table'),'Table'[rank]=2))
var _3=CALCULATE(MAX('Table'[CostElement]),FILTER(ALL('Table'),'Table'[rank]=3))
var _4=CALCULATE(MAX('Table'[CostElement]),FILTER(ALL('Table'),'Table'[rank]=4))
return _1+_2+_3-_4
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@HJK , seem like you need Hybrid Display
if you are looking for a Hybrid display with Matrix Column and measure
https://community.powerbi.com/t5/Community-Blog/Creating-a-custom-or-hybrid-matrix-in-PowerBI/ba-p/1...
https://community.powerbi.com/t5/Quick-Measures-Gallery/The-New-Hotness-Custom-Matrix-Hierarchy/m-p/...
vote for Hybrid Table
https://ideas.powerbi.com/ideas/idea/?ideaid=9bc32b23-1eb1-4e74-8b34-349887b37ebc
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 |
---|---|
108 | |
98 | |
81 | |
65 | |
62 |
User | Count |
---|---|
147 | |
116 | |
104 | |
88 | |
65 |