Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
We Have a Table ' Service Desk List' Whcih has two fields, "Requested Date" and "Resolved Date". How can I calculate how many of each are populated within each month. I am aiming to use this in a Line Graph to show the difference.
Solved! Go to Solution.
are you wanting to plot different counts of resolved vs requests?
1.firstly you need a date table do you have one?
2.then you need to create a relationship between both of your dates and the date table . when you create these relationships one will be an active relationship (default), the other will be an inactive relationship.
3. create a count measure for each of the date relationships.
For whichever is the active relationship assuming its the requested date
requests = countrows(table)
resolved = calculate(countrows(table), userelationship(table[resolveddate], datetable[date])
then you can drag your date onto the graph and your 2 measures.
might sound confusing if you haven't done this before
here are some links
https://www.mattmasson.com/2014/02/creating-a-date-dimension-with-a-power-query-script/
https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-create-and-manage-relationships/
Proud to be a Super User!
are you wanting to plot different counts of resolved vs requests?
1.firstly you need a date table do you have one?
2.then you need to create a relationship between both of your dates and the date table . when you create these relationships one will be an active relationship (default), the other will be an inactive relationship.
3. create a count measure for each of the date relationships.
For whichever is the active relationship assuming its the requested date
requests = countrows(table)
resolved = calculate(countrows(table), userelationship(table[resolveddate], datetable[date])
then you can drag your date onto the graph and your 2 measures.
might sound confusing if you haven't done this before
here are some links
https://www.mattmasson.com/2014/02/creating-a-date-dimension-with-a-power-query-script/
https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-create-and-manage-relationships/
Proud to be a Super User!
That has worked Excellently, thank you.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 42 | |
| 37 | |
| 34 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 62 | |
| 31 | |
| 26 | |
| 25 |