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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
GoingIncognito
Advocate III
Advocate III

Cumulative distinctcount for all unresolved tickets

Hi y'all.

I thought this would be simple, no I bet this is simple, but somehow the right solution manages to escape me.

 

I've to tables: Calendar and Data. Calendar is joined to Data by reporting date. All good so far.
I need cumulative distinctcount of all unresolved tickets.
So this is what I accomplished so far:
calculate( distinctcountnonblank(Data[key]),
   Filter(Data, Data[resolutiondate] <= endofquarter(Calendar[Date]) || isblank(Data[resolutiondate]))
)

Now to the hard part: all tickets not solved by end of the quarter should be summed up. E.g.
coming into 2020/Q1 there are 7 tickets, and 3 new tickets are added to the sum during the quarter. And finally 4 tickets are resolved by the end of the quarter. So the number of tickets for 2020/Q1 should be 7+3-4=6. How do I manage this. The tickets coming into 2020/Q1 can be anywhere from yesterday to dawn of time.


Thank you!

1 REPLY 1
Anonymous
Not applicable

Hi @GoingIncognito ,

 

Could you please share some sample data and the expected result to have a clear understanding of your question? I can do some tests for you.

You can save your files in some cloud sharing platforms and share the link here.

How to provide sample data in the Power BI Forum - Microsoft Power BI Community

 

Best Regards,

Yuna

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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