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 am using Line chart to display the data values which are in bytes. Currently the display unit is auto and hence it shows values in billions or Millions. I want to change the display Unit to Mega Bytes instead. Is there a way to do so?
Hi @sakshimit
Your measure is using FORMAT to return a value. FORMAT returns a string and you can't apply number formatting like #,##0 \ MB to a string.
If you have a number you just type into Format area to apply the special formatting.
Further info here https://www.myonlinetraininghub.com/custom-formatting-strings-in-power-bi
Your original question said you wanted to format valuies in MB, but your measure is formatting them in KB, MB, GB etc.
So what is it you actually are trying to do?
Regards
Phil
Proud to be a Super User!
Hi,
The MB requirements are met with the soution you provided. However, I wanted to extend it further to dynamically convert the values to KB, MB & GB. Is it possible to acheive the same?
I cannot find the option to Set the Display Format to #,##0 \MB. It is only showing text in the dropdown for Format.
Hi @sakshimit
Create a measure to convert Bytes to MB
Measure = SELECTEDVALUE('Table'[MB])/1024
Select the new Measure and Set the Display Format to #,##0 \MB
Plot the measure
Regards
Phil
Proud to be a Super User!
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 | |
| 43 | |
| 39 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 68 | |
| 63 | |
| 31 | |
| 30 | |
| 23 |