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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

How to format a specific row as Currency in a Table visual with Power BI Desktop?

Hi,

 

I am using Power BI Desktop.

 

How to format a specific row as Currency in a Table visual?

 

For example, I want to format the 2nd row values as Currency (i.e. add a $ sign) in the following Table. Is this possible?

chart1.PNG

1 ACCEPTED SOLUTION
v-kkf-msft
Community Support
Community Support

Hi @Anonymous ,

Try the following formula:

Measure = 
IF(
    MAX('Table'[id])="B",
    CURRENCY(SUM('Table'[value])),
    FORMAT(
        SUM('Table'[value]),
        "0"
    )
)

image.png

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

Best Regards,
Winniz

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

2 REPLIES 2
v-kkf-msft
Community Support
Community Support

Hi @Anonymous ,

Try the following formula:

Measure = 
IF(
    MAX('Table'[id])="B",
    CURRENCY(SUM('Table'[value])),
    FORMAT(
        SUM('Table'[value]),
        "0"
    )
)

image.png

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

Best Regards,
Winniz

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Jihwan_Kim
Super User
Super User

Hi, @Anonymous 

In some cases, it is possible by using Tabular Editor in Power BI.

If it is OK with you, can you share your sample pbix file? Then I can try to come up with a desirable solution. 

 

Thanks.

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help other members find it faster.

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here and Go to My LinkedIn Page


Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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