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
aj1107
Helper I
Helper I

Monthly As-On report status using multiple history tables

Hi,

 

I'm trying to create a report with underlying data source (In screeshot Table A & B). Table A & B contains history of latest ID records for each month. I've to create a report (sample screenshot) by joining the two tables and create as on status by showing Month-Year in X-axis (last 6 month status). Filtering can be applied on either ways (table A/B) in some of the reports.

 

Below chart shows - open issues as on each month and corresponding action status in column series and values. Ive created a model in data source by joining two tables (similar to monthly snapshot) to get the as-on status of month in X-axis.

But the dowside with this model is, i've to replicate the status to each month to fill the gap and join the two history atables. I'm afraid of query performance and storage, since it resembles the monthly snapshot view.

 

Is there a better way tomodel the source table A & B with out monthly snapshot approach and get the chart as shown in screenshot.   Most of the report requirements are similar to below chart (with As-On month in x-axis) and filter by multiple history tables.

 

Thank you.

Model Screenshot.pngModel Chart.png

2 REPLIES 2
v-ljerr-msft
Employee
Employee

Hi @aj1107,


I'm trying to create a report with underlying data source (In screeshot Table A & B). Table A & B contains history of latest ID records for each month. I've to create a report (sample screenshot) by joining the two tables and create as on status by showing Month-Year in X-axis (last 6 month status). Filtering can be applied on either ways (table A/B) in some of the reports.

After a few try, I still haven't found any better solution in this scenario. It seems to be that your solution may be the best one here. Smiley Happy

 

Regards

Hi @v-ljerr-msft,

 

Thanks for sharing your views. Small change in table A. Row 2 - I1, 31-mar.

I tried to import the table A & B in power BI as it is( to avoid mothly snapshot as shown in existing model) and then use DAX to get the desired chart. But it looks complex to me to join two history tables and get the as-on status on monthly axis. Hence chosen SQL to build the model at datasource level.

 

Thank you again. Keep me posted if you come across similar scenario with better solution Smiley Happy

 

Model Screenshot.png

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.