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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
WillianRamos
Frequent Visitor

Goal value by Week

Hi All, 

 

I need some help........as you can see, I have a total goal value, and if I put the month in the matrix it kind of divides the total goal value by month, just like you see in the Image.

 

pray when I put the number of the week by month (W1, W2, W3, W4, W5) it continues to show the total value of the month. I would like some help to resolve this issue.

 

matriz valuesmatriz values

 

 

 

 

 

 

 

 

My DAX code of Goal By Week

 

Goal by Week =
CALCULATE([Goal Total],
            FILTER(ALL(dCalendario[Week]),
dCalendario[Week] <= MAX(dCalendario[Week])
                     )
)
2 REPLIES 2
Anonymous
Not applicable

Hi @WillianRamos ,

 

Please try

Goal by Week =
CALCULATE([Goal Total],
            FILTER(ALL(dCalendario[Week]),
dCalendario[Month] = MAX(dCalendario[Month])
                     )
)

If you still have doubts, please share the sample data and expected results.

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

vanessafvg
Community Champion
Community Champion

can you provide some sample data in text format, or share the text values not the screenshot.

 

also please show what the data looks like in your table, difficult to understand the problem without these details.  How are you joining the date table to you transactional data





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.