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 Everyone,
I would like help in calculating percentage in a row.
If you see in the image i made this matrix using month and year, i would like to make same matrix but using percentage.
Example in excel:I want divide each value in the collumn by the first value in the row.
I dont know if i was clear.
Can anyone help me do this in Power BI.
Thanks,
Gilson Shinkawa
Solved! Go to Solution.
Hi @gilsonshinkawa,
Based on my assumption, the table structure is like below, if so, please add a calculated column to list the percentage.
Percentage = Sheet1[Value] / CALCULATE ( MAX ( Sheet1[Value] ), FILTER ( ALLEXCEPT ( Sheet1, Sheet1[Date] ), Sheet1[Date2] = CALCULATE ( MIN ( Sheet1[Date2] ), ALLEXCEPT ( Sheet1, Sheet1[Date] ) ) ) )
Best regards,
Yuliana Gu
Hi @gilsonshinkawa,
Based on my assumption, the table structure is like below, if so, please add a calculated column to list the percentage.
Percentage = Sheet1[Value] / CALCULATE ( MAX ( Sheet1[Value] ), FILTER ( ALLEXCEPT ( Sheet1, Sheet1[Date] ), Sheet1[Date2] = CALCULATE ( MIN ( Sheet1[Date2] ), ALLEXCEPT ( Sheet1, Sheet1[Date] ) ) ) )
Best regards,
Yuliana Gu
Hi @v-yulgu-msft!
Thanks for the help!
It worked here!
Could you help me in another one?
It's kind similar of this problem.
I'll open another post.
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 |
---|---|
112 | |
100 | |
76 | |
74 | |
49 |
User | Count |
---|---|
146 | |
108 | |
106 | |
90 | |
62 |