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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
sonuojha1
Helper IV
Helper IV

How to create Detailed report without having active relationship on date dimension?

Hello All,

I have a requirement to drill through from the master report to the detailed report.

I have the data model as below:-

 

In my data model, I have many date fields in my transaction table, so I had joined all inactive mode and used those in measures as required.

Now I need to create a detailed report, which can be linked to my master report.

 

Kindly note: to make the relationship active I used userelationship in dax calculation.

 

Let say in my master report I have charts, matrix, and table visuals. 

Mostly visuals are as yearly - monthly data including company

 

So how would I drill through from Invoices posted by company report to detail report based on the selected month.

Data Model:

sonuojha1_0-1603809855684.png

Master report example

Invoiced posted by Company
CompanyC1C2C3C4
JAN781223223
FEB345123345
MAR2343123
APR55555555
MAY6767567
JUN8766598
JUL45568021
AUG871438
SEP3211254
OCT563275
NOV47318
DEC7747

Expected Result: 

 

INVOICE NUMINV AMTINV DATEPOSTED DTDESC
11$1-Jun29-JulInovoice posted successfully
22$2-Jun29-JulInovoice posted successfully
31$3-Jun29-JulInovoice posted successfully
42$4-Jun29-JulInovoice posted successfully
51$5-Jun29-JulInovoice posted successfully
62$6-Jun29-JulInovoice posted successfully
71$7-Jun29-JulInovoice posted successfully
82$8-Jun29-JulInovoice posted successfully
91$9-Jun29-JulInovoice posted successfully
102$10-Jun29-JulInovoice posted successfully
111$11-Jun29-JulInovoice posted successfully
122$12-Jun29-JulInovoice posted successfully
Total Invoices Count: 56   

 

Your help would be appreciated.

 

Regards,

Sonu

 

3 REPLIES 3
v-alq-msft
Community Support
Community Support

Hi, @sonuojha1 

 

Based on your description, I created data to reprodue your scenario. The pbix file is attached in the end.

Table:

b1.png

 

Table2:

b2.png

 

You may create a measure as below.

Visual Control = 
IF(
    FORMAT(MAX(Table2[INV DATE]),"mmm yyyy") in DISTINCT('Table'[YearMonth])&&
    MAX('Table2'[Company]) in DISTINCT('Table'[Company]),
    1,0
)

 

Then you need to put the measure in the visual level filter to get the result.

b3.png

 

Finally when you drill through from 'Page1' to 'Page2', the visual will be filtered as what you want.

b4.png

b5.png

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

@v-alq-msftThanks for reply.

I have a query

 Why you used two different tables for Summary(page1) and Detail report(page2)..

 

I have attached sample pbix file with some appropriate data including. Now please have a look and let me know how would I achieve my expected result while drilling through.

 

https://drive.google.com/file/d/1UCU9KzrcL2MDWn3nvaTzqLntnL3uIkUj/view?usp=sharing

sonuojha1
Helper IV
Helper IV

Adding more image:-

 

Drill through from master report to Detail report( C2 July 56--> drill to detail)

 

sonuojha1_0-1603825813668.png

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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 community update carousel

Fabric Community Update - June 2025

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