Forum Discussion
Anonymous
4 years agoNot applicable
Matrix View Column Calculation
Edit: Google Drive Link Hello, I have built a view in Excel with three sheets that I am trying to recreate in PowerBI. The first sheet shows two metrics by region and market, and indicates wher...
- Anonymous4 years ago
Hi Anonymous ,
In power bi you can also use the IF function to judge, use the Line and clustered column to see the target value.
https://docs.microsoft.com/en-us/dax/if-function-dax
Here are the steps you can follow:
1. Create measure.
IF = IF( DIVIDE( MAX('Table'[Pre]),100)>=MAX('Table'[Target]),"Yes","No")Targetmeasure = CALCULATE(MAX('Table'[Target]),FILTER(ALL('Table'),'Table'[Row Labels]=MAX('Table'[Row Labels])&&'Table'[Show by Region]=MAX('Table'[Show by Region]))) * 1002. Find Line and clustered column in Visual
3. Result:
If you need pbix, please click here.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Whitewater100
4 years agoSolution Sage
Hi:
I finally became more free. Were you going to send me an updated file? The one I had opened didn't seem to be the correct one. Sorry about this timing!