Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello Community,
I am using Power BI and Power Query with SAP Data. In my Fact Table I have a OrderInvoice Table on a invoice level granularity.
Order | Position | Invoice |
A | 1 | A |
A | 1 | B |
A | 2 | A |
A | 3 | A |
B | 1 | A |
B | 2 | A |
B | 2 | B |
B | 2 | C |
There are also accounts and projects related to this table. But a Order Position (and therefore its invoices) can be assigned to multiple accounts or projects (from a separate Table) with a percentgae distribution.
E.G. Position 1 of Order A is Assigned to Account Sales and Account MArketing each 50%. But a Position could also assigned to n accounts or projects How can i model this? The Percentage distribution is the same for accounts and projects. The distribution is then needed to calculate invoice and order amounts which are in the OrderInvoice fact table
Any Idea how i could model this with power query?
Hello @PBILix,
Hope everything’s going great on your end! Just checking in has the issue been resolved, or are you still running into problems? Sharing an update can really help others facing the same thing.
Thank you.
Hello @PBILix,
Thank you for reaching out to the Microsoft Fabric Forum Community.
I’ve reproduced your use case in Power BI using sample data that matches your structure and logic.
The final visuals and matrix outputs matched your requirement:
I've attached a .pbix file to this post so you can explore the setup, Power Query steps, relationships, and DAX measures directly.
If this information is helpful, please “Accept as solution” and give a "kudos" to assist other community members in resolving similar issues more efficiently.
Thank you.
Thanks for your fast and helpful reply.
In my scenario
Order | Position | Invoice |
A | 1 | A |
A | 1 | B |
A | 2 | A |
A | 3 | A |
B | 1 | A |
B | 2 | A |
B | 2 | B |
B | 2 | C |
I have multiple invoices for each position.
In the report I need dimension tables with Account Name & ID, Project Name & ID etc. which are connected to the fact table.
Currently I am using a classic star schema, but with a simple one to many relationship without the percentage distributed values.
Now, I would have duplicates in my dimension and fact tables and a many to many relationship.
Would a bridge table be helpful here? When I add the percentage distribution to the dimension tables (account, project, cost center etc.) and then merge a new table with my fact table based on Order & ID?
Hello @PBILix,
Thanks for the clarification. Based on your scenario, here’s the recommended approach to handle percentage-based allocations while preserving a clean dimensional model:
This approach eliminates many-to-many complications between facts and dimensions, while still enabling accurate allocation and filtering.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
10 | |
7 | |
7 | |
6 | |
6 |