Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi, I know it must be simpler but I am literally stuck in this.I have the data like this
| Month | Volume in 1000Kgs |
| jan | 100 |
| feb | 200 |
| mar | 300 |
I want the result to be shown as,100/600 for jan,200/600 for feb,300/600 for mar.Please get me the solution for this
Solved! Go to Solution.
All selected (item) worked as comparison to this, this is showing me the exact values in col B
Hi, @Parul_verma
If you just want to display as 100/600 in January, 200/600 in February, and 300/600 in March, then what you might want to create is a Text measure like the following:
Result =
VAR a =
SUM ( 'Table'[Volume in 1000Kgs] )
VAR b =
CALCULATE ( SUM ( 'Table'[Volume in 1000Kgs] ), ALL ( 'Table' ) )
RETURN
a & "/" & b
If you want the result to be a calculated value, you can also consider checking 'show value as percent of grand total' to display the result.
Best Regards,
Community Support Team _ Eason
All selected (item) worked as comparison to this, this is showing me the exact values in col B
not working I am unable to take volume column without any function under calculate
Hi @Parul_verma
I thought it was a measure. Please try
=
DIVIDE ( SUM ( [Volume] ), CALCULATE ( SUM ( [Volumne] ), ALL ( 'Table'[Month] ) ) )
Hi,
"shown" where? In a measure or in a calculated column?
In a measure
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 21 | |
| 12 | |
| 9 | |
| 5 | |
| 5 |