Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
SteveMBSDO
Helper I
Helper I

Create table with unique values from 2 dimension tables

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:

SteveMBSDO_0-1677503531658.png

 

 

Installation Table:

SteveMBSDO_1-1677503531659.png

 

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:

 Picture1.png

 

Is there an easy and smart way to do this?

 

Thank you for helping!

 

Kind regards,

 

Steve

1 ACCEPTED SOLUTION

Hi @SteveMBSDO 

Table =
CROSSJOIN ( 

ALLNOBLANKROW ( dimDate[Date] ),

ALLNOBLANKROW ( Installation[Installation] ) 

)

View solution in original post

4 REPLIES 4
andhiii079845
Super User
Super User

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.





Did I answer your question? Mark my post as a solution!

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?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors