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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Sydneyl23
New Member

Visualize Quarter to Quarter inventory with created date and inactive date

I’m losing my mind! This is probably a simple solution but anyways..

 

I have a connected SharePoint list of a System Inventory with two dates: Date Created and Date Inactive

I have a separate date table that reflects fiscal quarters

I want to make a bar chart that shows count of active systems over the fiscal quarters.

How do I do this? I feel like I have tried everything with USERELATIONSHIP and CROSSFILTER but I keep failing miserably.

1 REPLY 1
ValtteriN
Super User
Super User

Hi,

Here is the pattern I usually use when I want to display count between active and inactive dates:

CountBetween =
var c_date = MAX('Calendar'[Date])
return
CALCULATE(COUNT(Table[ID]),
FILTER(Table,Table[StartDate]<=c_date &&
Table[EndDate]>=c_date))



I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!

My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.

Top Solution Authors