Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I have a table visualisation in my report that contains 3 columns:
1. An asset reference
2. MEASURE: A monetary value column,
3. MEASURE: A conversion of value in column 2 to another currency
I would like a 4th column to show the % of value displayed in column 3 of the total of all values displayed in column 3.
I know that to do this I can use the DIVIDE(col3 / total of column 3). But how do I get the total value of column 3 if it is a measure column?
Solved! Go to Solution.
Try like , using the display column to summarize
Divide([Conversion Value], sumx(summarize(Allselected(Fact), Fact[Asset], Fact[Group], "_1",[Conversion Value] ) , [_1]) )
Assuming this is not working
Divide([Conversion Value], calculate([Conversion Value] ) , allselected() ) )
@julesdude , Assume column 3 is measure 2
then you can have a measure
divide([Measure], calculate([Measure],allselected()) )
Unfortunately it did not work as I am getting 100% for each row item. It could be I'm not clear on your solution. Here are my column and measure names:
Asset | Group | Value [Measure] | Conversion Value [Measure] |
aaa | A1 | 763000000 | 5410964 |
bbb | A1 | 81500000 | 54059432 |
ccc | A1 | 1170000000 | 8297284 |
ddd | B2 | 861000000 | 6105950 |
eee | B2 | 149000000 | 98832582 |
fff | B2 | 434000000 | 3077796 |
ggg | B2 | 610000000 | 4325934 |
Essentially I want the collection of assets for each Group to be considered so that I end up getting the following table:
Asset | Group | Value | Conversion Value | Percent Weighting |
aaa | A1 | 763000000 | 5410964 | 7.98% |
bbb | A1 | 81500000 | 54059432 | 79.77% |
ccc | A1 | 1170000000 | 8297284 | 12.24% |
ddd | B2 | 861000000 | 6105950 | 7.39% |
eee | B2 | 149000000 | 98832582 | 5.44% |
fff | B2 | 434000000 | 3077796 | 87.97% |
ggg | B2 | 610000000 | 4325934 | 2.74% |
Try like , using the display column to summarize
Divide([Conversion Value], sumx(summarize(Allselected(Fact), Fact[Asset], Fact[Group], "_1",[Conversion Value] ) , [_1]) )
Assuming this is not working
Divide([Conversion Value], calculate([Conversion Value] ) , allselected() ) )
Many thanks @amitchandak
After a bit of adapting in your first example:
Divide([Conversion Value], sumx(summarize(Allselected(Fact), Fact[Asset], Fact[Group], "_1",[Conversion Value] ) , [_1]) )
....I was able to summarise as desired. Again many thanks for your help on this.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
20 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
24 | |
10 | |
10 | |
9 | |
6 |