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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
srpeters
Helper I
Helper I

Add '$' Sign Only To Totaled Row In A Table

Hello,

 

I was wondering if it is possible to add a '$' in front of my totaled rows' summarized values in a table without adding it to the tables' non-summarized values. I know I can add a conditional format to add sumbols to only the totaled row of a table, but the dollar sign is not one of the alloted symbols. Any Suggestions are appreciated.

 

Thank you in advance!

2 ACCEPTED SOLUTIONS
fahadqadir3
Resolver II
Resolver II

dollar sign total.jpg

@srpeters you can put a $ sign on totals by using the following measure:

Measure dollar = IF(ISINSCOPE('Table'[ID]),[Measure 2030],FORMAT([Measure 2030],"#$0.00"))
Power BI file attached:
dollar sign.pbix

Regards,

Fahad Qadir

Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!

View solution in original post

Greg_Deckler
Super User
Super User

@srpeters What about this? PBIX attached.

Measure = 
    VAR __Sum = SUM('Table'[Column1])
    VAR __Result = IF( HASONEVALUE( 'Table'[Column2] ), __Sum, FORMAT( __Sum, "Currency" ) )
RETURN
    __Result

 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

2 REPLIES 2
Greg_Deckler
Super User
Super User

@srpeters What about this? PBIX attached.

Measure = 
    VAR __Sum = SUM('Table'[Column1])
    VAR __Result = IF( HASONEVALUE( 'Table'[Column2] ), __Sum, FORMAT( __Sum, "Currency" ) )
RETURN
    __Result

 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
fahadqadir3
Resolver II
Resolver II

dollar sign total.jpg

@srpeters you can put a $ sign on totals by using the following measure:

Measure dollar = IF(ISINSCOPE('Table'[ID]),[Measure 2030],FORMAT([Measure 2030],"#$0.00"))
Power BI file attached:
dollar sign.pbix

Regards,

Fahad Qadir

Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.