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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Bjorn_80
New Member

SUMMARIZE link with a second date table with and inactive relationship

Hi all

 

For the final result of my report, I need to create 2 tables using SUMMARIZE 

 

My fact table (TblSales) is linked with a date tabel (using the DateID). The date table is also linked with a second date table using an inactive 1-to-1 relationship. The reason why is that I need to compare two adjustable periodes (FYI : it is a sales report in which I need to compare the average prices of two adjustable periode) 

 

My first table is correct 

TblTemp1 = SUMMARIZE ('TblSales' 'TblSales'[CustomerNo], 'TblSales'[MaterialNo])

 

The second table (I will use this is a measure as a variant) that I need to created needs to ignore the filtercontect of the first date table, and take into account the filter context of the second date table. 

 

Can someone help me out on this one? 

I assume it is with function USERELATIONSHIP, but I do not manage to get it right 

 

Thx!!!

 

regards

Bjorn 

 

 

The first tabel is based on a 

1 REPLY 1
MattAllington
Community Champion
Community Champion

Why do you need to use Summarize?  It has its place, but is often used incorrectly in place of using visuals such as a Matrix to generate the required outcome. 



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.