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 All,
I have a requirement in matrix chart to pull the data from two different fact tables and two different dimension tables. Where i have a direct relationship between one dimension table name called Category & other fact table name Fact table 1 but there is no direct relationship between Category & Fact table2. Is it possible to display the category wise Sales data from both fact tables? The relation ship between Category & Fact table 1 is joined by category id where the same column is existed in both the tables, but in Fact table 2 we dont have any category id's present becuase of that we cant join directly. The Category column will dynamically change based on the backend data, we cannot hard code and provide the values accordingly by using switch condition.
From the below screenshot i am not able to see any data in A & E columns in Expected output table becuase we dont have any relationship existed in Category & Fact table 2 tables. The requirement i can acheive by adding the static category values in new table and pass the respective measures using switch condition but in my req. from B to D the category values will change dynamically. How to acheive the expected result. Please help here.
Hi, @prakash11440278
This is not very clear to me. How can the data from fact table 2 be obtained in the expected output? What is the purpose of a custom table? How does the ID field of the custom table and fact table 2 map to the category ID of the category table? What is the expected complete output result?
To save time in creating a PBIX, could you please share the sample files of the dummy data so that we can know more details.
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @v-angzheng-msft ,
Thnaks for your reply.
1)How can the data from fact table 2 be obtained in the expected output?
Yes we need fact table2 data ( A & E) columns to be included in our desired output. If you see there is no direct relatinship between Fact table2 & Category tables. Is it possible to add like a measure below:
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 |
---|---|
96 | |
95 | |
82 | |
71 | |
64 |
User | Count |
---|---|
116 | |
106 | |
94 | |
79 | |
72 |