We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hello friends,
I need to calculate monthly sales amount for each customer ONLY IF the customer has a sales transaction of $500 and above.
If there is such a transaction, then I need to summ ALL of that customer's sales in that month.
It's like first selecting customers/month that have this transactions
and then selecting from the sales table joining with the previous results.
I was able to solve it using a calculated column and a measure.
But I am looking for an elegant all-in-one measure solution.
Thank you
Michael
Solved! Go to Solution.
So if we have this data:
We'd want bob to be 1500 and dave to be 2000 as they have individual line(s) of at least 500, but jim would be 0 as he doesn't? In that case, this works for me:
So if we have this data:
We'd want bob to be 1500 and dave to be 2000 as they have individual line(s) of at least 500, but jim would be 0 as he doesn't? In that case, this works for me:
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 38 | |
| 33 | |
| 16 | |
| 16 |
| User | Count |
|---|---|
| 68 | |
| 63 | |
| 38 | |
| 34 | |
| 22 |