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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
Anonymous
Not applicable

Automatic Date Slicer

Hi All,

I am facing one scenario when developing user requirment which tracks 

I need to capture 3 types of counts which will tell the Users about the status of bugs for every month. 
1. [Closed Bugs this Month]

2. [Newly Added Bugs this Month]

3. [Total Active Bugs Till Date]

[closed bugs count] : it will tell about the count of bugs which are closed in time frame selected. 
[Newly added Bugs Count]: it will tell the count of bugs that are  added in time frame selected. 
[Active Bugs]: Actuve bugs seen at a pirticular Date is [Bugs Added till that Date]-[Closed Bugs Till that Date]

My output should be some thing like it should show stacked bar graph for last 3 months. 

I have Implemented Logic Upto getting the [active], [Closed],[Newly Active]. I am getting [Newly Active],[Closed] from Dataset Directly just Created a just sum measure for them. But For [Active] I have created a Measure which will calculate it by using concept of Running totals. 

Here My problem is I am not able to show the correct [active count] for last 3 months.  if I use Relative Date filter in Filter section. I am not getting [Active] correct. May be reason is if data is filtered to show onlt last 3 months. Example: sep,aug,jul. it will not show data before those dates.  before July. if 5 bugs are logged in january and no bug is closed after that. [Active count] should show still 5 for all the months in future.  If I filter last 3 months; as there is no bugs logged in after january in this example I am not getting no data for selected 3 months. 


Can anyone help me on this how can we acheive a filter which calculate the [active] for the last 3 months even the actual data is not present in selected filter. Measure should be calculated irrespective of date filter for every month. but only the Latest 3 months should be shown in visual. 

1a.( Expected  overall graph)
1a.1a.

1b. (Expected pirticualar Graph for better understanding): Here 
jul : 11 bugs are newly added. so Newly active = 11 ,Closed = 0, Active = 11-0 =11
aug: 1 bug newly added. so newly added = 1, closed=0, Active = (11+1) - (0+0) = 12. 
sep: 0 bugs added or closed so Newly added =0 ,closed=0 active = (11+1+0) - (0+0+0) =12

1b1b


1c. (result I am getting when I am trying to filter last 3 months of data by using relative date in filter section. (it will change to Aug,sep,oct in month of october) in below case I need to get 12 in september month but I am getting Blank.
1c1c


 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

got the solution. 

Thanks 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

got the solution. 

Thanks 

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.