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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

how add custom unit to label

Hi All,

I have donut chart showing utilization number of total, I need to add unit to number, ( ex: MB,GB )

as I have coulmn represent memory in GB and need to show GB next to number in label

 

Thanks

 

 

1 ACCEPTED SOLUTION
3 REPLIES 3
Anonymous
Not applicable

Many thanks, the format setting in modeling solved it,

 

https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-custom-format-strings

 

mahoneypat
Employee
Employee

In your measure you can just concatenate text.  For example:

 

Measure = AVERAGE(Table[Memory]) & " GB"

 

If it is variable (MB or GB), you can capture that in a variable based on another expression and add that instead.

 

If this works for you, please mark it as the solution.  Kudos are appreciated too.  Please let me know if not.

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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