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.
Hi All,
I'm having an issue where I have one billing (let's say 100k for bespoke sparkly suits) but two departments that use it as a revenue source (let's say bespoke tailoring and bedazzling) that have revenue associated with this activity.
Is there a way that I can have this billing appear in totals for both departments to without having it feed into my business total more than once? So in attached screenshot I'd be looking for the billing to be able to appear as part of both bespoke tailoring and bedazzling in the right hand table without throwing out the actual business totals in the left hand column. The volume of data I am working with is absolutely huge and requires being put through a workflow management program to get to a useable point so I need a solution that doesn't require any manual editing of the input data ideally.
Thanks so much in advance
Hello,
Probably
To achieve this in a data model without manual editing of the input data, you can create a new table that allow you to assign multiple departments to each billing entry. This way, a billing entry can contribute to the total of multiple departments without duplicating the overall business total.
Create a table that maps each billing entry to one or more departments
BillingID | Department
1 | Bespoke Tailoring
1 | Bedazzling
2 | Bespoke Tailoring
3 | Bedazzling
You can create this table either manually or by using a transformation process in your data workflow.
In your main data table that contains billing information, create a relationship between the "BillingID" column in the main table and the "BillingID" column in the department mapping table.
Update your measures to consider the relationship with the department mapping table. For example, if you had a measure for total revenue, you might update it to consider the selected departments:
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
84 | |
83 | |
64 | |
61 | |
55 |
User | Count |
---|---|
179 | |
108 | |
105 | |
71 | |
70 |