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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
DrEvil
Frequent Visitor

Diferent times in same row. Issue creeating graphs

 

Hi, i have an Excel Sheet with a list of 'Issue Id' with the 'created' date and the 'resolved' date. I need to create a graph in Power Bi that shows how many Issues are CREATED each time period and how many are RESOLVED. The issue is that i cant get Power BI to recognize both dates, and it links both events (created and resolved) to the same date. 

In the screenshots:

  • What i have in the excel Sheet
  • The desired output done through excel dynamic tables
  • What im getting in Power BI

2018-06-12_1103.png

excel_screenshot_3.png

Power_Bi_screenshot.png

2 ACCEPTED SOLUTIONS

@DrEvil,

For getting no of Issue Created, you will have the following

 

Category - Month

Value - Issue ID

 (The Above thing is already in place with you)

 

For Getting count of no of Issues Resolved, you the below calculated column

 

Count of Resolved IssueID = CALCULATE(COUNT(Table2[issue ID]),USERELATIONSHIP(Table2[Resolved], Dates[Date]))

Here Table2 is my actual Data Table and Dates is my Date Table with All Dates

 

Hope this solves your issue!!!

View solution in original post

Hi,

 

The formula is great. Just a tip, it should be a measure.

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Thejeswar
Resident Rockstar
Resident Rockstar

@DrEvil,

I think in the graph shown below from power bi, you are using a month column and that column is calculated based on one of the dates (probably Created Date)

 

This should be the reason why your graph is not detecting the other date avaialbe

Hi @Thejeswar Thank you for your answer, this is what i tried: i created an Excel sheet with just a list of dates and linked both dates from the Sheet with all the information. The 'Fecha' shown in the first screenshot is the one from the sheet with just dates.

Im pretty new to Power Bi so im a bit lost atm.

reply_1.pngreply_2.png

@DrEvil,

For getting no of Issue Created, you will have the following

 

Category - Month

Value - Issue ID

 (The Above thing is already in place with you)

 

For Getting count of no of Issues Resolved, you the below calculated column

 

Count of Resolved IssueID = CALCULATE(COUNT(Table2[issue ID]),USERELATIONSHIP(Table2[Resolved], Dates[Date]))

Here Table2 is my actual Data Table and Dates is my Date Table with All Dates

 

Hope this solves your issue!!!

Hi,

 

The formula is great. Just a tip, it should be a measure.

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.