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 the following simple model:
I need to be able to create a measure that calculates lost sales to customers in a given period, where lost sales are defined as:
Situation where a customer has no positive sales in the selected period, and where sales in the same period last year are positive.
I would like to be able to insert the measure with the DAX calculation into the matrix and display a lost sale per customer and total for the customers shown.
In the example shown, a lost sale of 100 for customer Cust.6 and Cust.8 and a total of 200 should be shown.
I have now been trying to make a calculation for a long time, and I therefore now want to ask if there is a quick expert here who can help me.
Hi @Lars_Denmark ,
Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
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 |