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
bartvdg
Frequent Visitor

Line and Stacked column chart not showing filtered line value

Line and Stacked column chart not showing filtered line value, the column values do change based on the slicer which is a date slicer.

example 1: slicer set to 2 months. line on chart showing totals for all months, not the months selected?

bartvdg_2-1669199259213.png

 

Should show orange line values , like table below, for months 2022-09 = 187.0 and 2022-10 = 178.5

 

bartvdg_1-1669199212628.png

I tried with summarization settings but doesn't help.

1 ACCEPTED SOLUTION
bartvdg
Frequent Visitor

I fixed it with below DAX:

Total Available Hours = CALCULATE(SUMX('dim - Input TimeSheetentry', 'dim - Input TimeSheetentry'[TAH per Month per Resource]), CROSSFILTER('fact - timesheetentry'[YYYY-MM endtime],'dim - Input TimeSheetentry'[YYYY-MM],Both))

View solution in original post

3 REPLIES 3
bartvdg
Frequent Visitor

I fixed it with below DAX:

Total Available Hours = CALCULATE(SUMX('dim - Input TimeSheetentry', 'dim - Input TimeSheetentry'[TAH per Month per Resource]), CROSSFILTER('fact - timesheetentry'[YYYY-MM endtime],'dim - Input TimeSheetentry'[YYYY-MM],Both))
katika555
Resolver I
Resolver I

@bartvdg  Please Share sumple data or file

lbendlin
Super User
Super User

You may need to use AVERAGE or MAX instead of SUM

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.