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.
Hello Guys, I have been struggling on how I can do this.
Below is what I'm trying to achieve to display on a matrix Visual.
WeightScore = [Score] * 0.05 (For Jan - March)
WeightScore = [Score] * 0.03 (For April- June)
So basically, the percentage changes depending on the quarter but It needs to be displayed on a single measure. I tried using If, but unable to achieve this.
Thank you for the help!
Score | Weight Score | |
January | 5 | 0.25 |
February | 5 | 0.25 |
March | 5 | 0.25 |
April | 5 | 0.15 |
May | 5 | 0.15 |
June | 5 | 0.15 |
July | 5 | 0.4 |
August | 5 | 0.4 |
September | 5 | 0.4 |
October | 5 | 0.5 |
November | 5 | 0.5 |
December | 5 | 0.5 |
Solved! Go to Solution.
Hi,
You may download my PBI file from here.
Hope this helps.
Hi,
You may download my PBI file from here.
Hope this helps.
Thank you! this is really helpful!
You are welcome.
@justnoob08 , Create a new measure like
[Score] * Switch(True(),
[month] in {"January","February","March"}, 0.05,
[month] in {"April","May","June"}, 0.05,
// Add other
)
Hi, amitchandak. Thank you for the response, I have a problem I can't seem to use month because it is a column on my calendar table. I'm I doing something wrong here?
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 |
---|---|
106 | |
94 | |
75 | |
62 | |
50 |
User | Count |
---|---|
147 | |
107 | |
105 | |
87 | |
61 |