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
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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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