Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello guys! I would like if it is possible and how is the best way to create the following matrix in Power BI.
Each row represents a topic:
1st row - revenue related measures
2nd row - investment related measures
3rd row - profit related measures
and it goes on...
And for each row, there is 5 columns to calculate these topics in different ways. For exemple:
For revenue:
- The actual day revenue
- The average from last 7 days
- MTD revenue
- Monthly goal
- Difference between MTD and goal
This repeats for every row.
I tried to use the matrix visual but I couldn't find the settings to transform it like the picture.
Solved! Go to Solution.
Hi @simpletech_data ,
You can use the following formula in matrix to fill in the result of 1, 2 and so on with the result you want to calculate.
diff_ =
IF (
ISFILTERED ( 'Table'[Attribute] )
&& MAX ( 'Table'[Attribute] ) = "Difference",
1,
IF (
ISFILTERED ( 'Table'[Attribute] )
&& MAX ( 'Table'[Attribute] ) = "Goal",
2,
0
)
)
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @simpletech_data ,
You can use the following formula in matrix to fill in the result of 1, 2 and so on with the result you want to calculate.
diff_ =
IF (
ISFILTERED ( 'Table'[Attribute] )
&& MAX ( 'Table'[Attribute] ) = "Difference",
1,
IF (
ISFILTERED ( 'Table'[Attribute] )
&& MAX ( 'Table'[Attribute] ) = "Goal",
2,
0
)
)
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
16 | |
13 | |
12 | |
11 | |
11 |
User | Count |
---|---|
19 | |
14 | |
14 | |
11 | |
9 |