March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe 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
I have simplified my table to one value (Charge90) per month. I have a measure that shows me the rolling 12 total.
Rolling individual = sumx(DATESINPERIOD(PostMonthly90[Month_Post],LASTDATE(PostMonthly90[Month_Post]),-12,MONTH),[Sum Charge90])
Then I want a measure that shows the sum of those rolling 12's for everyone who has the status of "Partner" in the Partner_Status.
To start that, I tried to make a measure that just showed the rolling 12 if someone was a partner with this.... Seemed straight forward...
only partners rolling = sumx(filter(PostMonthly90,PostMonthly90[Partner_Status]="Partner"),[Rolling individual])
THis does show a blank if someone is not a partner that month.
however, if they are a partner, it doesn't show the measure "Rolling Individual", it just shows the sum of the current months Charge90, ie, NOT the rolling 12. Somehow the rolling 12 gets removed?
weird... The measure for "only partner rolling" contains "rolling individual" but actually shows Charge90?!?
Solved! Go to Solution.
Hey,
without data that allows to recreate the observation that you describe, it's almost impossible to provide any help for debugging the issue (at least I'm not able to provide any help).
As far as I can see, you are using DATESINPERIOD and LASTDATE. Both of these DAX functions can be considered as one of the Time Intelligence (https://dax.guide/ and look for Time Intelligence, this is something different than Date and Time functions) functions. It's a good practice to use a dedicated calendar table without any missing dates, and link this table to all the other tables like:
PostMonthly90
Regards,
Tom
Hey,
without data that allows to recreate the observation that you describe, it's almost impossible to provide any help for debugging the issue (at least I'm not able to provide any help).
As far as I can see, you are using DATESINPERIOD and LASTDATE. Both of these DAX functions can be considered as one of the Time Intelligence (https://dax.guide/ and look for Time Intelligence, this is something different than Date and Time functions) functions. It's a good practice to use a dedicated calendar table without any missing dates, and link this table to all the other tables like:
PostMonthly90
Regards,
Tom
Thank you Tom, i'll do a different post with sample data that should hopefully help.
Thanks!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
25 | |
18 | |
15 | |
9 | |
8 |
User | Count |
---|---|
37 | |
32 | |
18 | |
16 | |
13 |