Forum Discussion

JM_BEI's avatar
JM_BEI
Frequent Visitor
3 years ago
Solved

Gauge Chart with variable Maximum based on Filters

Hello Everyone!   Thanks for your support and patience in advance. This is my first post and I'm trying to start working with PowerBI.   I'm trying to create a sales report that compares the actu...
  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi JM_BEI ,

     

    According to your description, here are my steps you can follow as a solution.

    (1) My test data is the same as yours.

    (2) We can create a measure. 

    max = CALCULATE(SUM('Forecast table'[Sales Forecast]),FILTER(ALLSELECTED('Forecast table'),'Forecast table'[Sales Forecast]))

    (3) Place the measure in the max value field.

     

     

    If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

     

    Best Regards,

    Neeko Tang

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