Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
I have Invoices table that is connected to SalesOrders tables with many-to-one relation.
(There could be multiple Invoices connected to one Sales Order, there also can be Sales Orders without any invoice)
The simple star-schema is below.
Also, here is the link to .pbix:
https://1drv.ms/u/s!AoP_9ampPIT7gZUVjqRfj-CcNU7I_w?e=6fK5hG
I want to show a simple table (or matrix without sub-totals) showing the following:
Sales Order, SO Amt, Invoice Number, Invoice Amt
If I do a simple SO Amt = SUM('Sales Orders'[SO Amount]) then for each SO it shows all the unrelated invoices (see the left side of powerbi screenshot)
I tried to do a measure: SO Amt (isfiltered) =
Solved! Go to Solution.
Ok, I think I've solved this (after two beers...)
If any one finds a more elegant solution - please let me know...
Here is the solution file:
https://1drv.ms/u/s!AoP_9ampPIT7gZUavYdk3iSFw8A7Vw?e=OMCJJd
I had to add a "dummy" invoice "No Invoices", so it shows instead of blanks
the measure is:
Ok, I think I've solved this (after two beers...)
If any one finds a more elegant solution - please let me know...
Here is the solution file:
https://1drv.ms/u/s!AoP_9ampPIT7gZUavYdk3iSFw8A7Vw?e=OMCJJd
I had to add a "dummy" invoice "No Invoices", so it shows instead of blanks
the measure is:
User | Count |
---|---|
84 | |
79 | |
62 | |
62 | |
51 |
User | Count |
---|---|
109 | |
95 | |
86 | |
79 | |
61 |