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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
epresson
Frequent Visitor

Crossfiltering Snap-shot fact table with Transition fact table

Hello,

I have a data model as such:

model.jpg

 

dim_date=daily calendar table

dim_bug=dimension table

fact_bug= daily snap shot fact table

fact_bug_actionability=transition fact table

 

fact bug contains data like so:

Calendar dateIDSeverityPriority
1/1/20201MajorHigh
1/2/20201MajorMedium
1/1/20202MinorLow
1/2/20202MajorLow

 

fact_bug_actionability contians data like so:

Modified DateIDDue DateAction
1/25/202015/1/2020Employee
2/20/202015/1/2020Manager
1/2/202023/1/2020Employee
3/2/202025/1/2020Employee

 

I need to count the number of rows in fact_bug which have IDs with fact_bug[Severity]=Major, fact_bug[Priority]=High, and where fact_bug_actionability[Action]=Employee all by date.

 

My problem is that I can't get a running total of the count by date since the fact_bug_actionability table does not have a daily granularity. So my line chart ends up showing something like this:

 

example.jpg

What I want is a running total of the count. Anyone have suggestions?

2 REPLIES 2
lbendlin
Super User
Super User

Create a second, disconnected Dates table to fill in the gaps.  Then you can create a cartesian measure for your running total.

@lbendlin , I don't think I can use a disconnected date table as I need a common date axis in my chart for a bunch of other measures I also use on the same chart. I need all of the measures to be charted on the same date axis from my dim_date table. 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.