Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Taking a break from banging my head.
I have a table sorted by date. For each daily there are 3 columns, 1, 2, and 3 and a column for total. I want to show a column for the percentage 1 is of total or 2 is of total, etc. Basically the result of dividing one column by another.
I've tried doing DIVIDE((1),(2)) with no luck.
I've tried showing as percentage of row total but this is adding in all columns of the row.
Am I overthining this?
::Back to banging my head::
Solved! Go to Solution.
@hxnwx
You can add measures as follows:
Modify and repeat for other two columns
Pcnt 1 = DIVIDE ( MAX( TableName[1] ) , MAX( TableName[2] ) )
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@hxnwx
You can add measures as follows:
Modify and repeat for other two columns
Pcnt 1 = DIVIDE ( MAX( TableName[1] ) , MAX( TableName[2] ) )
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Hi @Fowmy ,
But if you have 39 columns like mine. How to divide column 1/column 0, column 2 /columns 1 ... and so on...
Thanks for the help.
Michelle
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
124 | |
76 | |
74 | |
58 | |
49 |
User | Count |
---|---|
166 | |
84 | |
68 | |
67 | |
57 |