Forum Discussion
StephenF
3 years agoResponsive Resident
Dynamic format string numbers on export dont produce readable numbers for excel
DO NOT LINK ME TO IRRELEVENT ARTICLES PLEASE. My Format code used for my report is:
SWITCH(
true(),
SELECTEDMEASURE()>999999999,"€#,##0,,,.0B",
SELECTEDMEASURE()>999999,"...
v-yanjiang-msft
3 years agoCommunity Support
Hi StephenF ,
Is the following result after format? If so, what 's the original data.
| Yr 2021 |
| €5188341.90M |
| €5216550.00M |
| €796085.00K |
| €2523204.00M |
| €2894047.00M |
| €3039211.00M |
I create a sample with the below fact data.
| Yr 2021 |
| 5188341.90 |
| 5216550.00 |
| 796085.00 |
| 2523204.00 |
| 2894047.00 |
| 3039211.00 |
Measure =
MAX ( 'Table'[Yr 2021] )
Measure can get the correct result with the format formula you provided.
Not sure what's the difference with your sample, I attach my sample below for your reference.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
StephenF
3 years agoResponsive Resident
Basically its the exported output file which includes non numerical elements for numerical columns when dynamic formatting for numbers is applied. eg the "M" part or "K" part is exported rsther then a pure number understandable by excel.