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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
eagleae
Frequent Visitor

Custom format in Power BI - not text, but sum

Hi all,

 

I have a table with individual format for each parametr - percent, abs. value, etc.

I made the formula for it, but when i transfer it to the graph, Power BI displays me only quantity, not sum in values.

 

How can i transfer this column for Power BI to recognize it like sum, not text? Because when i choose "value" in setting he returns error

eagleae_0-1616754236056.png

 

 

Thanks

 

Value_format = if('17 KPI online (2)'[KPI]="CR Mobile",format('17 KPI online (2)'[Value],"0.00%"),if('17 KPI online (2)'[KPI]="ac",format('17 KPI online (2)'[Value],"0.00%"),if('17 KPI online (2)'[KPI]="vip",format('17 KPI online (2)'[Value],"0,#0"), if(or('17 KPI online (2)'[KPI]="nps",'17 KPI online (2)'[KPI]="usability"),format('17 KPI online (2)'[Value],"0.0"),format('17 KPI online (2)'[Value],"0.00")))))
1 ACCEPTED SOLUTION

@eagleae 

Try creating different measures for each parameter/format you need.  Looks like you only need 2 or 3 different ones?

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

8 REPLIES 8
eagleae
Frequent Visitor

ok, but it will be the whole format for every parametr, but i need different..

@eagleae 

Try creating different measures for each parameter/format you need.  Looks like you only need 2 or 3 different ones?

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


yes, thanks, it is a good idea

PhilipTreacy
Super User
Super User

Hi @eagleae 

In Report View, on the Ribbon, choose the Format, or type in your own custom format

format.png

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


eagleae
Frequent Visitor

Thanks, Philip. But i can't find..where i can make a custom format for each perimetr in format area?

PhilipTreacy
Super User
Super User

Hi @eagleae 

The FORMAT function creates a text string so if you try to use that in a chart, you can't SUM a text value, so the chart displays the Count..

If you want a SUM you need to be plotting numeric values in the chart.

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Thanks! So I can't  solve this problem...? 

Don't in Power bi have possibility to put different formats in graphs?

Hi @eagleae 

Yes you can display numeric/date values in different formats but you are creating strings by using the FORMAT function.  You can't SUM a string or do maths with it so you can't display it in any other way than the count of that string.

You should just chart 17 KPI online (2)'[Value] and then apply a format to those values from the Format area of the Ribbon.

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.