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 there,
For the below screenshot, I would like to create a column for target%GP and one column for GP% variance against target on matrix. I have no idea how to create it (I can not directly drag the targetGP% column to matrix), would you help on that? thanks
Data model is as below
Best regards,
ER
Solved! Go to Solution.
Hi @erihsehc,
Based on my test, your should be able to follow steps below to get your expected result.
1. Set the Cross filter direction of the relationship the two tables to Both.
2. Then should be able to use the formulas below to create two measures to calculate target%GP and the variance, and show them on the Matrix.
Target GP% = MAX(Target[targetGP%])
Variance = [GP%] - [Target GP%]
Here is the modified sample pbix file for your reference.
Regards
Hi @erihsehc,
Based on my test, your should be able to follow steps below to get your expected result.
1. Set the Cross filter direction of the relationship the two tables to Both.
2. Then should be able to use the formulas below to create two measures to calculate target%GP and the variance, and show them on the Matrix.
Target GP% = MAX(Target[targetGP%])
Variance = [GP%] - [Target GP%]
Here is the modified sample pbix file for your reference.
Regards
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 |
---|---|
115 | |
100 | |
88 | |
69 | |
61 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |