Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

DAX format formula error

Hi Experts

 

I cannot see the error on the following DAX...

 

TEST 111 = FORMAT(CALCULATE([Total Revenue], FILTER('Product','Product'[Sub Brand] IN {"ESTEEM+ CONVEX DRAINABLE","ESTEEM+ FLAT CLOSED","ESTEEM+ FLAT DRAINABLE","ESTEEM+ FLAT MOLDABLE CLOSED","ESTEEM+ FLAT MOLDABLE DRAINABLE"}),"$#,##0.0;($#,##0.0)"))
1 ACCEPTED SOLUTION
affan
Solution Sage
Solution Sage

Hi @Anonymous

 

Please try the measure as below 

 

TEST 111 = 
    FORMAT(CALCULATE([Total Revenue], 
            FILTER('Product','Product'[Sub Brand] 
                    IN {"ESTEEM+ CONVEX DRAINABLE","ESTEEM+ FLAT CLOSED","ESTEEM+ FLAT DRAINABLE","ESTEEM+ FLAT MOLDABLE CLOSED","ESTEEM+ FLAT MOLDABLE DRAINABLE"})
)
,"$#,##0.0;($#,##0.0)")

If this helped you, please mark this post as an accepted solution and like to give KUDOS .

 

Regards,

Affan

View solution in original post

2 REPLIES 2
affan
Solution Sage
Solution Sage

Hi @Anonymous

 

Please try the measure as below 

 

TEST 111 = 
    FORMAT(CALCULATE([Total Revenue], 
            FILTER('Product','Product'[Sub Brand] 
                    IN {"ESTEEM+ CONVEX DRAINABLE","ESTEEM+ FLAT CLOSED","ESTEEM+ FLAT DRAINABLE","ESTEEM+ FLAT MOLDABLE CLOSED","ESTEEM+ FLAT MOLDABLE DRAINABLE"})
)
,"$#,##0.0;($#,##0.0)")

If this helped you, please mark this post as an accepted solution and like to give KUDOS .

 

Regards,

Affan

Anonymous
Not applicable

thamks, much apprciated for the feedback

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.