Forum Discussion
Line and Stacked Column chart - hide specific data points
- 3 years ago
Hi, Anonymous ;
Such as Pragati11 said, however One thing is different, what I'm establishing here is the values of the earliest and latest dates.
Measure = var _max=CALCULATE(MAX('financials'[Date]),ALL(financials)) var _min=CALCULATE(min('financials'[Date]),ALL(financials)) return CALCULATE(SUM(financials[ Sales]),FILTER('financials',[Date] in {_max,_min}))Then change the data label.(close line's label and retain column's)
The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, Anonymous ;
Try it.
Measure =
var _max=EOMONTH( CALCULATE(MAX('financials'[Date]),ALLSELECTED(financials)),0)
var _min=EOMONTH(_max,-13)
return CALCULATE(SUM(financials[ Sales]),FILTER('financials', EOMONTH([Date],0) in {_max,_min}))
The final show:
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. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.