cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Route11 Post Prodigy
Post Prodigy

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

Accepted Solutions
Highlighted
affan Solution Sage
Solution Sage

Re: DAX format formula error

Hi @Route11

 

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
Highlighted
affan Solution Sage
Solution Sage

Re: DAX format formula error

Hi @Route11

 

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

Route11 Post Prodigy
Post Prodigy

Re: DAX format formula error

thamks, much apprciated for the feedback

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Top Solution Authors
Top Kudoed Authors