Forum Discussion
Getting Min value from Last 4 Quarter graph
- 7 years ago
hi, Anonymous
This looks like a measure totals problem. Very common. See this post about it here:
https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
In your case, if you change bar chart visual to table visual, you will find the table visual is like this
Quarter Last 4 Quarters Avg Fac ID Q4-17 1658 Q1-18 1667 Q2-18 1646 Q3-18 1621 Total ***
Then you use MINX() or MAXX() instead of SUMX() in above post to create a measure to get the min/max value and then drag
the measure into card visual.
Best Regards,
Lin
hi, Anonymous
This looks like a measure totals problem. Very common. See this post about it here:
https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
In your case, if you change bar chart visual to table visual, you will find the table visual is like this
| Quarter | Last 4 Quarters Avg Fac ID |
| Q4-17 | 1658 |
| Q1-18 | 1667 |
| Q2-18 | 1646 |
| Q3-18 | 1621 |
| Total |
*** |
Then you use MINX() or MAXX() instead of SUMX() in above post to create a measure to get the min/max value and then drag
the measure into card visual.
Best Regards,
Lin
Thanks! It works with the MINX and MAXX