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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
MMY
New Member

Format vs efficiency

The design of the dashboard is that the metrics used in there are all part of a dimension table. These help to create dynamic axis for the visual so that users can select the visuals they want to see.

 

Given the dynamic nature of the data selector, I cannot format the values in the table on their own ( for example, remove all decimal places would make the rate value 0 for all, a percentage value would affect variable * 100%). Therefore my initial attempt was to use the FORMAT function in dax to transform the measures we are using in the table.

 

I am converting the metrics into the desired format. However, doing this results in null values being converted into EMPTY values.  The table should not contain the rows which are empty. However, these are EMPTY values rather than BLANK values so they only way I can remove them is by using the filter panel to filter them and set it to ‘IS NOT EMPTY’ however this really slows down the performance of the dashboard.

 

So I need an alternative approach that can change the format of the values in the table, that are being filtered by a slice of the metrics needed for the dashboard, whilst either not converting or easily removing the null values.

2 REPLIES 2
technolog
Super User
Super User

I hope this message finds you well. I've noticed that this solution remain unresolved. If any of you have managed to find a resolution to the issue, I kindly request that you share your solution for the benefit of the entire community. Alternatively, if you're still facing challenges, please do let us know as well.

Your insights and updates will greatly assist others who might be encountering the same challenge.

some_bih
Super User
Super User

Hi @MMY "The table should not contain the rows which are empty." If you really do not need data use Power Query to "transform" it by simply removing it by filter, this is possible solution.

Maybe link below could be something helpful for you

https://www.sqlbi.com/articles/introducing-dynamic-format-strings-for-dax-measures/ 





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

Proud to be a Super User!






Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.