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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
rmcgrath
Advocate II
Advocate II

Display values of 0 as dashes in a table visual?

Hello.  In a table visual, I created several placeholder measures and gave them a value of 0.  For example, PlaceholderMeasure1 = 0

 

How can I make this value show as a "-" in the table visual?  Every formatting trick I've tried does not work.  Here is a screenshot:

rmcgrath_0-1717017750619.png

Here is what I tried in the Modeling tab for the "Cash" elimination value:

rmcgrath_1-1717017935573.png

Lastly, the entire column of Elimination values are filled in using a SWITCH measure:

rmcgrath_2-1717018017304.png

Again - all of the measures in the SWITCH measure are placeholders for now (they are all set to = 0)

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @rmcgrath ,

 

Here is the measure I created:

Measure = 0

 

Go to the Modeling tab, select the measure, and find the Format section in the Properties pane. Enter "-" as shown in the format text box.

vhuijieymsft_0-1717031940136.png

 

The measure appears as "-" in the table visual.

vhuijieymsft_1-1717031940137.png

 

If you want to learn more about this, please see:

Use custom format strings in Power BI Desktop - Power BI | Microsoft Learn

vhuijieymsft_2-1717031951447.png

 

If you have any further questions, please feel free to contact me.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @rmcgrath ,

 

Here is the measure I created:

Measure = 0

 

Go to the Modeling tab, select the measure, and find the Format section in the Properties pane. Enter "-" as shown in the format text box.

vhuijieymsft_0-1717031940136.png

 

The measure appears as "-" in the table visual.

vhuijieymsft_1-1717031940137.png

 

If you want to learn more about this, please see:

Use custom format strings in Power BI Desktop - Power BI | Microsoft Learn

vhuijieymsft_2-1717031951447.png

 

If you have any further questions, please feel free to contact me.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

May 2025 Monthly Update

Fabric Community Update - May 2025

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