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
hello,
My data is presented in a Matrix table.
Table has:
LOB, Vsl_type, Region, Revenue
LOB (lines of business) is along rows.
Vsl_type and region are along columns
Revenue is the measure
+-----------+------------------------------+-------------------------------+
| Vsl_type> |Vsl_type No. 1 | Vsl_type No. 2 |
| LOB | Atlantic |Pacific |Operating | Atlantic |Pacific |Operating |
+-----------+----------|---------|---------- +---------|--------|------------+
| LOB1 | 38.25% | 2.31% | 0.85% | 1.23% | 2.56% | 2.53% |
| LOB2 | 18.15% | 3.23% | 1.18% | 21.02% | 1.25% | 32.13% |
| LOB3 | 23.05% | 1.03% | 3.22% | 12.12%| 8.16% | 61.23% |
| : | : :
| : | : :
+-----------+----------|---------|---------- +---------|--------|------------+
The perentages shown above are by dragging "Revenue" into the Values column and selecting "Sum"
The percentages are display by Right clicking the "Revenue" column and choosign "Show value as >> Percent of column total".
I've marked "Revenue" in Modeling as Data type: Whole number with 0 decimal places.
I am unable to find a way to format the Percentages to 0 decimal places.
Please can someone assist with this.
Thanks in advance.
Rajesh
Solved! Go to Solution.
Hi,
It seems there is no way to change it. It is already designed. But maybe there is a workaround. You could calculate the percentage directly with a measure. Then you can easily change the format. But you will have to change the measure every time you change the column field. The measure may look like this. Have a try please.
measure = Revenue/calculate(Revenue, allexcept('table', 'table'[Vsl_type>], 'table'[region])
Best Regards!
Dale
Hi,
It seems there is no way to change it. It is already designed. But maybe there is a workaround. You could calculate the percentage directly with a measure. Then you can easily change the format. But you will have to change the measure every time you change the column field. The measure may look like this. Have a try please.
measure = Revenue/calculate(Revenue, allexcept('table', 'table'[Vsl_type>], 'table'[region])
Best Regards!
Dale
Perfect! Thanks very much!
@v-jiascu-msft wrote:
Hi,
It seems there is no way to change it. It is already designed. But maybe there is a workaround. You could calculate the percentage directly with a measure. Then you can easily change the format. But you will have to change the measure every time you change the column field. The measure may look like this. Have a try please.
measure = Revenue/calculate(Revenue, allexcept('table', 'table'[Vsl_type>], 'table'[region])
Best Regards!
Dale
My pleasure. I am so glad it can help.
Best Regards!
Dale
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 |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 63 | |
| 32 | |
| 31 | |
| 25 |