Forum Discussion
minhuan
1 year agoRegular Visitor
Powerbi Service Export Issue--Export Excel
Hi I create a measure, _x=switch(TRUE(),ISBLANK([measure]),BLANK(),[measure]<10,[measure]), when data <10, it will show '<10' in the table. But I find that when I export data from service in 'Exc...
- 11 months ago
minhuan Workaround: Preserve Display Formatting in Export
To ensure that Excel shows "<10" instead of the actual number, you can modify your measure to return text instead of numeric values:
_x = SWITCH( TRUE(), ISBLANK([measure]), BLANK(), [measure] < 10, "<10", FORMAT([measure], "General") )
This forces Power BI to treat the output as text, which will be preserved during export. However, note that this may limit sorting or aggregation in visuals.
SamWiseOwl
1 year agoSuper User
Hi minhuan
To turn off excel export change this setting:
For the second issue could you recreate it in this file:
If you want the literal value of < 10 then return that:
_x=switch(TRUE(),ISBLANK([measure]),BLANK(),[measure]<10,"<10")