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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
POSPOS
Post Partisan
Post Partisan

Dynamically change the signs of numbers in a table.

Hi,

I have a requriment to allows different group of users to view the signs of numbers differently in a table.

Eg: I have 5 columns in a table, few users may want to see the first three columns as a positive(+) number and few users may want to see the first three as a negative(-) number. 

Similarly, few may want to see column 2 and 5 as (+) and others as (-). 

It will be different combinations for different users.

Can someone please suggest a way to do this using any custom table visuals?

Note: We do not want to create Bookmarks as there will be different combinations..

Thank you.

7 REPLIES 7
v-mdharahman
Community Support
Community Support

Hi @POSPOS,

Thanks for reaching out to the Microsoft fabric community forum. It looks like you are lookiung for a way for different users to see the sign (+/-) of numbers per column differently in the same table visual. As @danextian@speedramps and @burakkaragoz all responded to your query, kindly go through their responses and check if your issue can be resolved.

 

I would also take a moment to thank @danextian, @speedramps and @burakkaragoz, for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.

 

If I misunderstand your needs or you still have problems on it, please feel free to let us know.  

Best Regards,
Hammad.

Hi @POSPOS,

As we haven’t heard back from you, so just following up to our previous message. I'd like to confirm if you've successfully resolved this issue or if you need further help.

If yes, you are welcome to share your workaround so that other users can benefit as well.  And if you're still looking for guidance, feel free to give us an update, we’re here for you.

 

Best Regards,

Hammad.

Hi @POSPOS,
Hope everything’s going smoothly on your end. As we haven’t heard back from you, so I wanted to check if the issue got sorted.
Still stuck? No worries just drop us a message and we can jump back in on the issue.

 

Best Regards,

Hammad,

Hi @POSPOS,
We noticed there hasn’t been any recent activity on this thread. If you still need support, just drop a reply here and we’ll pick it up from where we left off.

 

Best Regards,

Hammad.

danextian
Super User
Super User

You might be able to do this with conditional dynamic format strings. It would be easier to come up with a solution had you provided a workable sample data (not an image) and your expected result from the same.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
speedramps
Super User
Super User

Try this ....

Create some test data

speedramps_0-1753282590935.png

Create a config table of how each user wants to see columns

speedramps_1-1753282692048.png

Create dax for each column

Bought = 
var option = 
CALCULATE(
MIN(Config[Option]),
Config[User] = USERNAME(),
Config[Column] = "Bought"
)

var amount = SUM(yourdata[Bought])
RETURN

SWITCH(TRUE(),
option = "Positive", FORMAT(amount,"+#"),
option = "Negative", FORMAT(amount,"-#"),
amount
)

 

Sold = 
var option = 
CALCULATE(
MIN(Config[Option]),
Config[User] = USERNAME(),
Config[Column] = "Sold"
)

var amount = SUM(yourdata[Sold])
RETURN

SWITCH(TRUE(),
option = "Positive", FORMAT(amount,"+#"),
option = "Negative", FORMAT(amount,"-#"),
amount
)

 

Test using the "View as role"

 

speedramps_2-1753282865738.png

Please click thumbs up and [accept as solution]

burakkaragoz
Community Champion
Community Champion

Hi @POSPOS 

This is a pretty unique requirement and I couldn't find a standard Power BI visual that handles dynamic sign changes per user out of the box.

Here are your realistic options:

Create DAX measures for each sign combination you need:

Column1_UserGroup1 = [Original Value] * 1    // Positive
Column1_UserGroup2 = [Original Value] * -1   // Negative

Then use a slicer or parameter to let users choose their view. You'd have multiple versions of each column and show/hide them based on selection.

Use a custom table visual like Zebra BI Tables or similar - some of these have more advanced formatting options but I'm not sure any specifically handle dynamic sign switching per user.

Build a custom Power BI visual that handles this logic. This would require development skills but could give you exactly what you need.

Create user-specific reports with different sign configurations, though you mentioned wanting to avoid this approach.

The DAX measure approach with parameters is probably your most practical solution. You'd create measures for each sign combination and use slicers to control which version displays.

Unfortunately, this kind of user-specific numerical formatting isn't something Power BI handles natively. Most formatting options are report-wide, not user-specific.

Have you considered whether there's a business logic reason why different users need to see signs differently? Sometimes addressing the underlying need leads to a simpler solution.


If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.

This response was assisted by I for translation and formatting purposes.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors