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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
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.