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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Create a dynamic summary for backlog cases and current cases

Hello Team,

Once again i need some help with Power Bi. I have 2 connected tables to QuickBase, one of them contains information of number of cases in previous 3 months, second table contains all cases since beggining of the year. I want to create a single chart where i can show case count for previous 3 months based on 1st table, and case count for current month based on 2nd table. My idea is to create a summary table which will hold values that chart will use to visualise data. To visualise it better:

1st Table

Month EndProductLoBNewClosed
31-01-2020BoxSales326
31-01-2020ShapesMarket611
29-02-2020WidgetNet12
31-03-2020CanFood177

 

2nd Table

Date Case CreatedProductLoBIsClosedCase Owner
01-02-2020CanFoodFALSETom Jerry
28-03-2020WidgetNetTRUEJack Sparrow
05-04-2020BoxSalesFALSECase Owner
05-04-2020ShapesMarketFALSECase Owner

 

I decided to create 3rd table where type equals to Backlog for previous 3 months:

MonthMonth#Type
January1Backlog
February2Backlog
March3Backlog
April4 
May5 
June6 
July7 
August8 
September9 
October10 
November11 
December12 


I extracted month name from [Month End] (1st table) and [Date Case Created] (2nd table) to new column in each table. So all tables have column "Month" with month names. And now what i am struggling with, how do i summarize it?

I am trying to build DAX function for 3rd table like this:
Column Name = If('3rd Table'[Type]="Backlog",Count('1st Table'[New] WHERE '1st Table'[Month]='3rd Table'[Month]'),Count('2nd Table'[isClosed] WHERE '2nd Table'[Month]='3rd Table'[Month]'))

I know syntax is no correct, i just wanted to describe my approach for it.

Thanks in advance for any help.
Ksusser

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

I would skip the summary table and instead create a Date table using CALENDAR or CALENARAUTO. Link the Date columns together for these 3 tables. Then you can simply use default aggregations in your visual.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Thanks for response,

I am not sure if calendar table will work cuz my end goal is to create bar chart with certain conditions.
Where:
data from January, February and March will come from 1st table

but data for April will come from 2nd table

And this should always work for the previous 3 months and the current month.

I think summary table is a must in this case.

Regards,
Ksusser

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.