This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Note: Updated post is here. I have resolved it myself.
Below data model has flaws and its resolved on above link!
Hi there,
I'm trying to calculate basket sales of Promotion items.
For example I need to find basket sales of promotion ProductID 1783 for 15th Jan 2023 which should be equivalent to TransactionID 9844 sales amount 43.
I need to present all this in Power BI in table format.
I have searched in Power BI community forum but could not find insights as to how this can be achieved.
Could you please help me write a measure for this.
Below is my data model and mock up data below.
The issue is somewhat similar to https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-sale-of-other-products-in-... . But my transactions are time bound. So I'm not able to apply this kind of solution.
Thank you in advance!
Solved! Go to Solution.
I have updated data model as mentioned at https://community.fabric.microsoft.com/t5/Desktop/Calculate-filter-context-not-working-at-totals/td-...
and subsequently resolved the issue with measures posted in my reply.
Thank you both!
I have updated data model as mentioned at https://community.fabric.microsoft.com/t5/Desktop/Calculate-filter-context-not-working-at-totals/td-...
and subsequently resolved the issue with measures posted in my reply.
Thank you both!
Thank you very much. Unfortunately I do not have luxury to combine all the data into one table. I have figured out alternative way to achieve this. I'm resolving a few issues related to grand totals there. I'll post the data model once its fixed.
Seria isto? Se for, pbix aqui
Thank you. May I know more about the solution please.
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.
https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 39 | |
| 28 | |
| 27 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 67 | |
| 37 | |
| 32 | |
| 26 | |
| 25 |