Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Filtering down a graph based on a selection

Hello all.

 

I am new to PBI and I am trying to filter the graph marked with the arrow based on the selection highlighted in the image bellow

BERMAC_1-1679341683551.png

 

I have developed two measures that clearly are wrong (same logic so I only posted one) and I am getting the folowing warning: 😅

BERMAC_2-1679341761044.png

 

How can I correct the measure? I want to sum the total hours that are posted in the days that are between the time range based on the Sprint number of the selection.

 

I have a Date table with all dates, connected to the Posting Date and both the Iteration Started and Finish Dates. An example of the tables is bellow to help to understand the model.

 

Devops table:

BERMAC_3-1679342090556.png

 

Nav Total table:

BERMAC_4-1679342176517.png

 

Thanks in advance!

3 REPLIES 3
lbendlin
Super User
Super User

Don't use SELECTEDVALUE inside CALCULATE (read about filter context, and context transition).  Use variables.

Anonymous
Not applicable

Hello, thank you for the ideas. Can you help me write a Dax measure with those? I have started something like this:

BERMAC_0-1679483824919.png

Thank you!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors