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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Static Date Comparison

Hi,

 

I am trying to have a static date table, which I have created, and compare this to a Query pull table. 

 

I am trying to see that for example, on March 19, 2020, how many Work Requests are "Open". This meaning that a Work Request has been created on or before March 19, 2020, and has not been completed before March 19, 2020.

 

REPAIR_DATEDATE_OPENED
3/17/20203/16/2020 
3/19/2020 3/13/2020
3/19/2020 3/19/2020 
3/20/2020 3/18/2020 
3/27/2020 3/18/2020 
4/9/2020 3/19/2020 

 

So in the table above, the number of "Open" Work Requests would be 1 as of 3/19/2020

 

I am having trouble creating measures in my Date table to compare to the Query pull table, or to adjust based on a date being used in the dashboard filter

 

Please let me know if this question does not make any sense

 

Thank you!

1 ACCEPTED SOLUTION

@Anonymous , I added two more measures. Hope they will help. File is attached

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

6 REPLIES 6
v-yuta-msft
Community Support
Community Support

@Anonymous ,

 

So in the table above, the number of "Open" Work Requests would be 1 as of 3/19/2020

 

I am having trouble creating measures in my Date table to compare to the Query pull table, or to adjust based on a date being used in the dashboard filter


I'm confused on your description. Could you share the sample data of Query pull table and clarify more details about the logic of calculating "Open" Work Requests?

 

Regards,

Jimmy Tao

Anonymous
Not applicable

Hi @v-yuta-msft ,

the Opened Work Request just means the date that the Work Request was recieved in the system. There is no calculation behind it

 

My question is how to show the number of Work Requests that are incomplete on a certain day.. if that makes sense

 

Thank you!
Sarah

amitchandak
Super User
Super User

@Anonymous , Is it different from the one you asked: https://community.powerbi.com/t5/Desktop/How-Long-Between-Dates/m-p/1022826#M482762

I posted a solution pbix That should work for this one too.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

hi @amitchandak , I dont believe these are the same questions...

Although the original question you answered does allow me to calculate how many repairs there were in a given day, it does not show me how many are "Open" on any given day

 

I want to try to create a formula or column that shows the amount of Work Requests that are open on any given day, instead of how long it is between dates

 

Thank you!
Sarah

@Anonymous , I added two more measures. Hope they will help. File is attached

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak , I think this works!


(I just have to figure out how to subtract from the date before... 

Capture.PNG

so 2849+7 for 1/1/2014, 2856+13 for 1/2/2014, 2869+(-5) for 1/3/2014, etc... I know that I could possibly do this if i added an INDEX column, but since my access to the data source is messed up, I will need to find a work around.. )

 

Anyways, thank you so much!
But for now hopefully this answers my question 😁😁

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors