Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi Everyone,
I have two separate tables, Table A (Budgeted sales by State & Employee) & Table B (Budget sales by Business Unit & Product Category). There is no common values between two tables except months and both totals same which is total budgeted sales for the year.
I want combine these two tables in one so that I can slice by State, Employee, Business Unit & Product Category.
I have tried calculating $ of total budgeted sales for each month for state & employee from Table A and applied that measure to Total Budgeted Sales in Table B.
It gives me correct value in total for the year but for each month, it gives % of that month’s Total Budgeted Sales. (Eg. For Jan-21 - Budgeted Sales was $1000, it gives me 5% of $1000, i.e. $50. Where as in total for the year, it gives me correct amount).
What would be the best solution in such scenario?
Best solution would be to have a transaction identifier in both tables.
Second best solution would be to combine these two tables at the data source by adding all granularities directly. Meaning each row of your data would identify state, employee, business unit and product category.
If you cannot do that then you have to live with the ambiguity of your current data model.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
46 | |
27 | |
21 | |
12 | |
8 |
User | Count |
---|---|
74 | |
52 | |
45 | |
15 | |
12 |