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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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-tr...

 

 

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.