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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Alex_0201
Post Partisan
Post Partisan

Visual details expansion

Hi, struggling to understand which way to go here. 

I have a pie chart here that shows distribution of NPT value by Equipment failure type

 

0.PNG

I would like to show what all these abbrevaiations mean (EN, N, E). So I thought I would create a colunm/measure and add it into the Details field of the pie chart. So the explanation would appear in the black box when I hover the mouse over the pic chart.

 

3.PNGSo I guess I would need to create an extra column that assigns to each of N, EN, E values in the current column respective values of Npt, Equipment Npt, Equipment. What would be the formula?

And should I create a custom column in Query or should I go for a measure/column in the report view?

Capture.PNG

Thanks in advance!

1 ACCEPTED SOLUTION
tex628
Community Champion
Community Champion

A report column like this should do the trick, 

 

Column = SWITCH(
[equip_fail_type], 
"N" , "Npt" ,
"EN" , "Equipment Npt" ,
"E" , "Equipment"
)

 

 


Connect on LinkedIn

View solution in original post

2 REPLIES 2
tex628
Community Champion
Community Champion

A report column like this should do the trick, 

 

Column = SWITCH(
[equip_fail_type], 
"N" , "Npt" ,
"EN" , "Equipment Npt" ,
"E" , "Equipment"
)

 

 


Connect on LinkedIn

@tex628 Many thanks 😊

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.