Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Dear community,
Below is my measure to calculate Margin %, this is by default coming in 2 decimal point.
Can you help in tweaking this, so my output comes in 1 decimal point?
Margin% = IF(SUM(Inbound[NER_FYTD_Constant])=0,0,SUM(Inbound[MarginFYTD_Constant])/SUM((Inbound[NER_FYTD_Constant])))*100
If Formatting in Modeling tab does not do the thing, then try to add FORMAT function https://msdn.microsoft.com/en-us/query-bi/dax/format-function-dax
Formatting in modelling doesn't helps..
Can you help to create that format function in my measure?
Margin% = IF(SUM(Inbound[NER_FYTD_Constant])=0,0,SUM(Inbound[MarginFYTD_Constant])/SUM((Inbound[NER_FYTD_Constant])))*100
HI @vjnvinod,
In fact, you can direct modify decimal place on format table.
Choose your measure and click on format tab, then you'll find the property to modify displayed decimal place:
Regards,
Xiaoxin Sheng
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
82 | |
70 | |
61 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |