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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It 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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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