Forum Discussion
Inserting dollar signs
Hi,
How do I put dollar signs on the first row and in the grand total of a column in the table visulization?
Thanks.
Hi rwong2333 ,
Thanks for reaching out to the Microsoft fabric community forum.
You are expecting dollar signs for a particular column or all columns.
If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS. Feel free to reach out if you need further assistance.
Thanks and Regards
8 Replies
- pankajnamekar25Super User
Hello rwong2333
Power BI doesn't natively support conditional formatting of currency symbols only for specific rows (like just the first row and the grand total). But there are a few workarounds you can try
Try calculated measure
Revenue Display =
VAR _Value = SUM('Table'[Revenue])
VAR _RowRank = RANKX(ALLSELECTED('Table'), SUM('Table'[Revenue]),, ASC)
VAR _IsGrandTotal = HASONEFILTER('Table'[YourDimensionColumn]) = FALSE
RETURN
SWITCH(
TRUE(),
_RowRank = 1, "$" & FORMAT(_Value, "#,##0"), // First row
_IsGrandTotal, "$" & FORMAT(_Value, "#,##0"), // Grand Total
FORMAT(_Value, "#,##0") // Other rows
)
Thanks,
Pankaj Namekar | LinkedInIf this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.
- rwong2333New Member
Hi Pankaj,
This is the Power Bi Table I'm talking about. I tried your formula but it's giving me an error.
- pankajnamekar25Super User
Hello rwong2333
Thta is not possible , if try using dax then it will be converted into text format.
Thanks,
Pankaj Namekar | LinkedInIf this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.
- rwong2333New Member
Your formula put the dollar sign in every row so not sure what happened.
- v-dineshyaCommunity Support
Hi rwong2333 ,
Thanks for reaching out to the Microsoft fabric community forum.
You are expecting dollar signs for a particular column or all columns.
If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS. Feel free to reach out if you need further assistance.
Thanks and Regards- v-dineshyaCommunity Support
Hi rwong2333 ,
We haven’t heard from you on the last response and was just checking back to see . Otherwise, will respond back with the more details and we will try to help.
Thanks
- v-dineshyaCommunity Support
HI rwong2333 ,
We haven’t heard from you on the last response and was just checking back to see . Otherwise, will respond back with the more details and we will try to help.
Thanks