The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I'm connecting live to tabular model, and have 2 questions regarding formatting options on PBI Desktop:
1. Is there a way to change the sorting of values in a field?
For Example: I have a field called "Number of Instances" with values 1,2,3,No instances. The order of vales displayed in legend, slicer and so on is: 1,2,3, No instances. But what I would like to see is: No instances, 1, 2, 3.
Is there a way to do this?
2. When creating measures and adding them to a table: is there a way to display zeros instead of blanks?
The DAX I'm using is this:
Measure =
CALCULATE(
COUNTA(field),
field=1
)
Thank you!
Solved! Go to Solution.
You may check Column Properties Sort By Column and add zero (+ 0) to the DAX formula.
You may check Column Properties Sort By Column and add zero (+ 0) to the DAX formula.