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
ahhollan
Helper I
Helper I

Target by fiscal month wrong calculation

My measure is returning an inaccurate target value by month. See screenshots below for details.

ahhollan_0-1649163447320.png

 

Relationships

ahhollan_1-1649163482241.png

Any help would be appreciated.

5 REPLIES 5
v-yalanwu-msft
Community Support
Community Support

Hi, @ahhollan ;

Is your problem solved? If so, Would you mind accept the helpful replies as solutions? Then we are able to close the thread. More people who have the same requirement will find the solution quickly and benefit here. Thank you.


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

v-yalanwu-msft
Community Support
Community Support

Hi, @ahhollan ;

Maybe you can add Filter('table',[Date]=Max([Date])
The date here depends on the Date in your model.
Since you have many models, I can't reproduce it. If you can, can you share a simple file after removing sensitive information, and the desired output?


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

davehus
Memorable Member
Memorable Member

Hi @ahhollan , you have no date relationship between target and date table.

I created the relationship and the numbers are better, but not correct. See screenshots.

 

ahhollan_0-1649270954894.png

 

ahhollan_1-1649270962861.png

 

 

Hi @ahhollan , it all comes back to the granularity of your data. If they are at different granularties or the joins aren't correct within the model, then you won't get the desired outcome. I don't full understand your model, all I can suggest is taking it back to a single row of the desired outcome and troubleshooting from there.

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

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.