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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

Help - YTD equation not giving me the answer I expect and I don't know why

Hi All,

I am very new to Power BI but been very pleased to create something useful quickly. I have used this equation in tables within the same model and it worked fine. For some reason it is now only summarising for one Cluster, I can't see why as I shouldn't have any context filters on the data.

 

I have checked my relationships which are only set up with two tables, a date table 1:many and a Site table 1:many, these are working for all other measures. I have reloaded the data from scratch, checked the data table, and deleted all equations and started again... what am I missing?!

 

wuvane_2-1661426083571.png

 

Thanks in advance, lots of head scratching here!!

 

 

7 REPLIES 7
Anonymous
Not applicable

Hi, thanks for the response, no change when I remove it and it works in other calcs...

 

It feels very odd like a glitch, is there a way to break/check what's driving it?

Why SUMX and not SUM?

What happens if you use the standard TOTALYTD DAX function?

The Cluster should just be dimensionality on the data, should not affect the calculation, only the context of it.




Did I answer your question? If so, mark my post as a solution. Also consider helping someone else in the forums!

Proud to be a Super User!





Anonymous
Not applicable

No reason for SUMX, still trying to understand the language (week 4!!)

 

I have tried to use the DAX function, not sure if this is right but it then only returns data for a site in the North Cluster, its like the relationships aren't right.

wuvane_0-1661432321663.png

 

Can you show us the relationships?




Did I answer your question? If so, mark my post as a solution. Also consider helping someone else in the forums!

Proud to be a Super User!





Anonymous
Not applicable

Sure, also just looking again and can't be sure if this has changed but both the Quality and HSER metrics are experiencing the same issue now I have checked. I.e. only the North Cluster is bringing back data. These are the only areas I am doing the calculations for YTD so maybe it is a calculation issue.

 

wuvane_0-1661433555240.png

 

Anonymous
Not applicable

Thanks so much for your help with this, I have found it!! 

 

I had a table that I didn't realise had a dual directional relationship and it was filtering back for just the North  in a single site onto the rest. Lesson learnt! 

ToddChitt
Super User
Super User

Can we assume that the "30/04" is the year end? And that your regional settings are such that it is able to interpret that? My regional settings would want that to be "4/30". 

What happens if you take that part out? Does it calculate properly for a year ending on December 31?




Did I answer your question? If so, mark my post as a solution. Also consider helping someone else in the forums!

Proud to be a Super User!





Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.