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
rdaudt2021
Helper I
Helper I

Produce daily counts out of period ranges

Hi.

 

This is about observing and counting objects in a given space (physical or logical, it doesn't matter). Objects will enter a space in a given day and stay there for any number of days. What we want to know is how many objects are in that space at any given day. We want this object count over time, in a period of a month or so.

 

The end result should be be something such as the chart below.

 

rdaudt2021_1-1631913063883.png

The data model that I will be given is shown below

rdaudt2021_2-1631913133048.png

I can't wrap my mind around what the count measure should be so that the visual above can be produced out of the Objects fact. Looking for any help in this regard.

 

A few other details:

- there is only one "space" where objects can get in

- the same object will not enter the space more than once

- users should be able to slice-and/dice the visual by the three dimensions shown above: date, color and size.

 

Thank you very much.

 

Roque Daudt

 

 

 

 

1 ACCEPTED SOLUTION
TomMartens
Super User
Super User

Hey @rdaudt2021 ,

 

the challenge you are facing has a name: event-in-progress.

This article references all the important articles: https://blog.gbrueckl.at/events-in-progress/

I recommend starting with the article from @SqlJason 

 

If you get stuck, create a pbix file that contains sample data but still reflects your data model. Upload the pbix to onedrive or dropbox and share the link (here in this thread). If you are using Excel to create the sample data, share the xlsx as well.

 

Hopefully, this helps to tackle your challenge.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

2 REPLIES 2
TomMartens
Super User
Super User

Hey @rdaudt2021 ,

 

the challenge you are facing has a name: event-in-progress.

This article references all the important articles: https://blog.gbrueckl.at/events-in-progress/

I recommend starting with the article from @SqlJason 

 

If you get stuck, create a pbix file that contains sample data but still reflects your data model. Upload the pbix to onedrive or dropbox and share the link (here in this thread). If you are using Excel to create the sample data, share the xlsx as well.

 

Hopefully, this helps to tackle your challenge.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

That's fantastic, Tom. Exactly what I needed. I may come back to it in regards to a few details but now I know the approach. Thank you very much.

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.