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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Cosmac
Frequent Visitor

Issue with Multiple date keys and displaying dates on report.

Hello, i am working on a SSAS Tabular model to support Power BI report development. Our main fact table has multiple dates (Order Date, Paid Date, Shipped Date) with the Order Date being the active relationship to the date dimension. One of our reports requires a table that has the following columns (amoung others) Date and Amount by Paid Date. I understand how to build the measure "Amount by Paid Date" using USERELATIONSHIP to active the relationship between my fact.paid_date_key and the dim.date_key. 

 

Other than fully duplicating my date dimension to have a "Paid Date Dimension" and use that inactive relationship. how can i include "Paid Date" in my report table?

7 REPLIES 7
Cosmac
Frequent Visitor

This report and the majority of them are built using direct connect, so the SSAS Tabular need to be fully modeled out. I believe in that setup, the best that the report developer can do is to create their own measures, but i could be mistaken.

 

Dim.DateRelationshipfact.Sales
Date_KeyActiveOrder_Date_Key
Date_KeyInactivePaid_Date_Key

 

If i wanted to do a report that looked like the following:

Order DatePaid DateOrder AmountDiscount AmountPaid Amount
2024-01-012024-01-02$100.00$20.00$80.00
2024-01-012024-01-03$200.00$0.00$200.00

 

So Order Amount is just a SUM, same with Discount Amount. For Paid Amount the DAX looks something like 

CALCULATE ( SUM('Fact.Sales'[Paid_Amount]), USERELATIONSHIP ('Fact.Sales'[Paid_Date_Key], 'dim.date'[Date_Key]) )

 

 

The issue ive been having is around the "Paid Date" column, how can i display that effectivly in a measure or what other options should i be exploring?

 

I hope this example is clearer, this is just a rough scenario so it might not be 100% but it should paint a picture.

are built using direct connect,

That's not a thing.  Either you have Live Connection (no option to edit)  or Direct Query (with option to edit).

Sorry for using incorrect terminology. In power BI i see two options, "Import" and "Connect Live".

 

The scenario i am talking about is reports build using  Live Connection (no option to edit).

Does it have to be SSAS Tabular or could it instead be implemented as a Power BI Semantic Model?

Currently it needs to be a SSAS Tabular model.

If you have a Pro license you can open a Pro ticket at https://admin.powerplatform.microsoft.com/newsupportticket/powerbi
Otherwise you can raise an issue at https://community.fabric.microsoft.com/t5/Issues/idb-p/Issues .

lbendlin
Super User
Super User

Other than fully duplicating my date dimension to have a "Paid Date Dimension" and use that inactive relationship. how can i include "Paid Date" in my report table?

You lost me on that part.  Do you need to model the entirety of the relationships in your cube or can you allow the report users to create their own connections?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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