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
Hello Community,
I've tried to figure out how to get my measure to show the previous day's sales for a specific customer.
I used this:
Solved! Go to Solution.
hi @amitchandak ,
Thanks for the quick response!
I checked your solution and couldt not get it to work on my data.
Instead I ended up creating another matrix with an istoday filter to show only the changes since yesterday and still kept the monthly invoice overview matrix.
@Anonymous , this seems fine, should have worked. Try this option with your date table
example
Last Day Non Continous = CALCULATE(sum('order'[Qty]),filter(all(Table),Table[Date] =MAXX(FILTER(all(Table),Table[Date]<max(Table[Date])),Table[Date])))
Day behind Sales = CALCULATE(SUM(Sales[Sales Amount]),dateadd(Table[Date],-1,Day))
hi @amitchandak ,
Thanks for the quick response!
I checked your solution and couldt not get it to work on my data.
Instead I ended up creating another matrix with an istoday filter to show only the changes since yesterday and still kept the monthly invoice overview matrix.
Hi @Anonymous ,
Please show us a sample data, such as Fact_Invoiced table and Dim_Calendar table.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
123 | |
86 | |
73 | |
58 | |
52 |
User | Count |
---|---|
197 | |
133 | |
107 | |
69 | |
65 |