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

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

Reply
DarkNicobak
New Member

creating dax that shows the total month result when i select a week in my filters.

Im having some trouble creating a measure that shows the total month result when i select a week in my filters.
My dashboard is filtered by year and week, and this measure is a sum of the total values in a collumn but must be displayed as a monthly result, not weekly
My goal would be to select week 1, and have the total result for January, select week 5 and have the total result for February, etc

1 ACCEPTED SOLUTION
Rayshin
Memorable Member
Memorable Member

Hi @DarkNicobak  i recommend using this article: https://dax.guide/hasonevalue/ to check if the yyyy-mm column has one value,  then calculate the measure based on an unfiltered version but then filtered aginst that yyyy-mm

 

View solution in original post

1 REPLY 1
Rayshin
Memorable Member
Memorable Member

Hi @DarkNicobak  i recommend using this article: https://dax.guide/hasonevalue/ to check if the yyyy-mm column has one value,  then calculate the measure based on an unfiltered version but then filtered aginst that yyyy-mm

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.