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
frano72
Helper IV
Helper IV

Anonomise Dozer Operator performance dynamically to see their relative performance compared to other

Hi, I want to be able to show a Dozer Operator a metric that measures their performance relative to their peers, and be able to dynamically select each Operator (slicer) and show a chart that anonymises everyone elses data except their own.

 

I have one fact table which contains all the dozer cycles (a forward and reverse) and a shift(date) table for slicing by shift.

 

The visual has Operator added on x-axis and a measure to calculate the appropriate metric.

 

I've provided some dummy data in a pbix file for a single shift, so didn't bother with the date table relationship

https://www.dropbox.com/s/1jn972x4x2tpknr/Anonymise%20Example.pbix?dl=0

 

Thanks !

1 ACCEPTED SOLUTION
v-rzhou-msft
Community Support
Community Support

Hi @frano72 

I think you want a dynamic X-axis, show select operate only and others show blank.

We can't add measure in X-axis in column charts, I achieve your goal by build a matrix visual with measure.

Firsly build a Slicer table by dax.

 

Slicer = SUMMARIZE(FILTER(Sheet2,Sheet2[Operator]<>BLANK()),Sheet2[Operator])

 

Then build a matrix visual by measure and Sheet2[Operator].

 

Measure = 
IF(ISFILTERED(Slicer[Operator])&&MAX(Sheet2[Operator])=SELECTEDVALUE(Slicer[Operator]),SELECTEDVALUE(Slicer[Operator]),"")

 

We need to show axis in chart visual in white color, and column headers in matrix in white color as well.

Then transform the matrix to correspond to values in chart visual. And set background of both visuals show transparent.

Group two visuals and result is as below. (I select Tom in slicer and x -axis show Tom only)

1.png

Your demand is a good idea, while it is not supported to implement in Power BI currently.
You can vote up this idea for this function:using measures in axis for bar chart
Or you can submit a new idea to improve the Power BI.
It is a place for customers provide feedback about Microsoft Office products . What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.

You can download the pbix file from this link: File

 

Best Regards,

Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

 

View solution in original post

1 REPLY 1
v-rzhou-msft
Community Support
Community Support

Hi @frano72 

I think you want a dynamic X-axis, show select operate only and others show blank.

We can't add measure in X-axis in column charts, I achieve your goal by build a matrix visual with measure.

Firsly build a Slicer table by dax.

 

Slicer = SUMMARIZE(FILTER(Sheet2,Sheet2[Operator]<>BLANK()),Sheet2[Operator])

 

Then build a matrix visual by measure and Sheet2[Operator].

 

Measure = 
IF(ISFILTERED(Slicer[Operator])&&MAX(Sheet2[Operator])=SELECTEDVALUE(Slicer[Operator]),SELECTEDVALUE(Slicer[Operator]),"")

 

We need to show axis in chart visual in white color, and column headers in matrix in white color as well.

Then transform the matrix to correspond to values in chart visual. And set background of both visuals show transparent.

Group two visuals and result is as below. (I select Tom in slicer and x -axis show Tom only)

1.png

Your demand is a good idea, while it is not supported to implement in Power BI currently.
You can vote up this idea for this function:using measures in axis for bar chart
Or you can submit a new idea to improve the Power BI.
It is a place for customers provide feedback about Microsoft Office products . What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.

You can download the pbix file from this link: File

 

Best Regards,

Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

 

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.

Top Solution Authors