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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
roasty1980
Frequent Visitor

New Table - include rows from an unrelated table

Hi all

 

In MS Access, you can create a query that allows data to be pulled from unrelated tablesAccess Query.png

This returns a dataset that pulls all from the System Calendar table.  In this case it pulls every YYYYMM (202101, 202102, 202103 etc).  This increases the dataset size as it duplicates the other fields but it applies the YYYYMM to each row in the dateset.

 

Is this possible to acheive in Power BI?

 

Thanks

KC

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@roasty1980 , You can use values of the independent table using treatas

https://docs.microsoft.com/en-us/dax/treatas-function

 

or

calculate(sum(Table[value]), filter(Table, Table[Column] in values(Table2[Column] )))

 

Need of an Independent Table in Power BI: https://youtu.be/lOEW-YUrAbE

 

Need of an Independent Date Table:https://www.youtube.com/watch?v=44fGGmg9fHI

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@roasty1980 , You can use values of the independent table using treatas

https://docs.microsoft.com/en-us/dax/treatas-function

 

or

calculate(sum(Table[value]), filter(Table, Table[Column] in values(Table2[Column] )))

 

Need of an Independent Table in Power BI: https://youtu.be/lOEW-YUrAbE

 

Need of an Independent Date Table:https://www.youtube.com/watch?v=44fGGmg9fHI

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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