The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello,
I would like to create a new table from 2 dimension tables. The dimension tables are a dynamic date table and a table which contains different installations. There are 20 installations.
Dynamic Date Table:
Installation Table:
I would like my new table to have all installations per 1 day for each day in the dynamic table. It would look something like:
Is there an easy and smart way to do this?
Thank you for helping!
Kind regards,
Steve
Solved! Go to Solution.
Hi @SteveMBSDO
Table =
CROSSJOIN (
ALLNOBLANKROW ( dimDate[Date] ),
ALLNOBLANKROW ( Installation[Installation] )
)
You need a date column in your installations table in the correct format (Date) and create a relationsship between both tables. Than you are able to create a matrix with the date column from the DIMTable and the installation column.
Proud to be a Super User!
Hi @SteveMBSDO
Table =
CROSSJOIN (
ALLNOBLANKROW ( dimDate[Date] ),
ALLNOBLANKROW ( Installation[Installation] )
)
Great! Wonderful, exactly what I was looking for :)! Thank you very much.
Thank you for your reply. I'm a bit confused. Do you want me to just add 1 column in the table with just 1 date for the 20 installations? How can I then make a Matrix?
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
9 | |
7 |