cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cipriannsft
New Member

Three tables - count rows by calendar day

Hi everyone,

 

I've been struggling for weeks to convert a complex Excel sheet into a PowerApps and PowerBI solution. While I've easily done the PowerApp bit I'm really struggling with the PowerBI report.

 

I've created a few very simple screenshots though the actual worksheet is way more complex.

 

These are the main tables

cipriannsft_0-1632324339107.png

And this is what I need to produce in PowerBI

cipriannsft_1-1632324380720.png

 

It's basically a daily count of students from the first list that are in active placement on that day by placement name. 

 

The excel formula is something like this:

=COUNTIFS(Students_List, $CellOfPlacement, Students_List!StartDateColumn,">="&DayCell, Students_List!EndDateColumn,"<="&DayCell)

 

I'm struggling to transalte the above into a PowerBI report 😞

 

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@cipriannsft , I think very similar to HR use case

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

 

You can avoid join to date table with start and end date if needed

 

 

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin

Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

View solution in original post

2 REPLIES 2
v-angzheng-msft
Community Support
Community Support

Hi, @cipriannsft 

 

Could you share some dummy data and draw a simple picture to show your expected visual for further discussion?

 

refer:

How to Get Your Question Answered Quickly

 

Best Regards,
Community Support Team _ Zeon Zheng

amitchandak
Super User
Super User

@cipriannsft , I think very similar to HR use case

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

 

You can avoid join to date table with start and end date if needed

 

 

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin

Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.