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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Cases closed/opened graph

I am trying to create a line graph that shows  occurrences of opened date, and closed date in power BI Desktop, using salesforce case data. 

 

This would hopefully show cases opened, and closed over time. 

 

however I am having issues representing this properly and I am unsure whether it is to do with the date data types, sorting or what I am choosing as the axis. 

 

the logic I am using is count open date and count close date. But the numbers i get are different when I put opened/closed date as the axis. 

 

liamcol_0-1628230380551.png

 

Any help would be greatly appreciated. 

 

Happy to provide more info. 

 

 

4 REPLIES 4
ryan_mayu
Super User
Super User

@Anonymous 

could you pls provde the sample data(not screenshot) and the expected output?





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

Proud to be a Super User!




Anonymous
Not applicable

Hi it wont let me attach file, could i email to you? 

 

Anonymous
Not applicable

Hi Amit, I have tried to follow the sample file you linked but for some reason I can only get closed cases to link to the timeline. 

 

I have checked data types, and tried having both 1 active and 2 inactive relationships. 

Do you have any Ideas what could be causing this? 

 

Thanks. 

 

liamcol_0-1628484106730.png

liamcol_1-1628484189630.pngliamcol_2-1628484242418.png

liamcol_3-1628484545337.png

 

 

amitchandak
Super User
Super User

@Anonymous , First of you need to have an open and close date without time and join them with same date table with one inactive join, which you can activate in a measure using userelationship

 

same approach as this blog

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970

 

 

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.