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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
v-stephen-msft
Community Support
Community Support

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
Super User
Super User

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.