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
Green0879
Frequent Visitor

"Flag" each month between two dates

Hi everyone!

 

I need to flag each month between two dates in my table so I can make a Matrix.

 

Situation:

Insurance adjusters have open claims. If the claim started on 1/1/18 and closed on 3/31/18, then the claim was open in Jan, Feb, and Mar, but not in April. I'd want that adjuster's row on the matrix to look something like this:

 

Number of Open Claims per Month: 

adjusternameJanFebMarApril
JaneDoe1110

 

That example the adjuster has only a single claim, but in reality adjusters will have hundreds of open claims.

 

The claim is a single record in the table with an open date and a close date and should be counted each month it is open. There are of course cases where the claim isn't closed yet, in those cases I use the last day of the previous month using logic, got that worked out. The dataset is always valued last day of previous month by the way.

 

In many cases claims are open several years. In the matrix, I'd only select the current calendar year for display, maybe last two calendar years, but I'd like to consider the entrie dataset so Management can view ranges.

 

How in the world would I get this done? Maybe it's simple and I'm overthinking it? I suspect another table may be used, and I can use Claim Number (unique) as an indexing key between the two tables.

 

Thanks so much for reading!

 

Kyle

1 ACCEPTED SOLUTION

Hi,

 

Try this link - https://drive.google.com/open?id=1dH-QEuEKH27RxBZlg2SoHfX5JL1zT1Cd

 

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

11 REPLIES 11

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.