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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Dimani
Helper II
Helper II

Formatting multiple columns at the same time?

Hello

 

In Power Query, is it possible to format multiple columns/fields at the same time.  We will be using the same format for all those interested columns/fields, and all of them are numeric fields.  We would like the negative number to be shown in () instead of the negative sign.  We want whole numbers.

 

So far I have found these two functions in Power BI, but not sure we can apply specific format masks to them.

Number.FromText

Text.Format

 

Thanks

 

D

3 REPLIES 3
ronrsnfld
Super User
Super User

I do not believe that is possible. In general, you cannot format a datatype in Power Query without changing the datatype to a text string. This is different from Power BI and/or Excel where you can format a number or date in a variety of ways, and it still remains a number or date. If just for display purposes, you can use Number.ToText for certain types of formatting, but you would have to construct a string if you wanted to display negative numbers with (). Again, these values will not be numeric and would need to be converted back to numbers if you were to use them in a subsequent calculation.

Thanks for your information.  We were wishing there was an easier way.  I will discuss this with my colleague to see if we want to use this approach, knowing that when we need to perform calculation, we will need to convert the data back to numeric.

In general, I think of PQ as something used to shape your data, and Power BI to display formatted reports. Trying to do the formatting in PQ would be an inefficient use of the tool.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.