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
sudanaditya
Regular Visitor

Count IF based on date

Hello All - I have a scenario where I do a count IF based  on below sample data  table

1. Count IFS - Priority (P1,P2..) based on Open date & Closed date with situation = Issues ( should exclude action)

 

Trend I am trying to build

DateP1 OpenP2 OpenP3 OpenP4 OpenP5 OpenGLC OpenP1 CloseP2 CloseP3 CloseP4 CloseP5 CloseGLC Close
25-Nov-18000000023005
2-Dec-18000000023005
9-Dec-1801281020053008
16-Dec-18021161137012100022
23-Dec-18024262150017140031
30-Dec-18028272155020160036
6-Jan-19034324366025230048
13-Jan-19041414482030271057
20-Jan-190524975101044361080
27-Jan-1907259751310564610102
3-Feb-19088691151570755430129
10-Feb-19094821381760886663154
17-Feb-19097921581890927663168
24-Feb-1901021001782020968163177
3-Mar-1901041001882040988163179
10-Mar-19011811120822901119663207
17-Mar-190139121218260011810363221
24-Mar-191153133229287114011263253
31-Mar-191169156249326115012974280

Data Table

 

Issue IDProjectSituationDescriptionIssue StatusPriorityDue DateOpen DateClosed Date
909194512 - RA Models - Secondary LaunchIssueIncorrect warehouse return for RA-2051-DPL and RA-0078-ACCIn ProcessP4 12/6/2018 0:00 
919144512 - RA Models - Secondary LaunchActionAbility of Global Trax to consolidate SOPO and IRISO ordersIn ProcessP34/3/2019 0:001/8/2019 0:00 
923494512 - RA Models - Secondary LaunchIssueWSS OA is showing Weird values under configurationReportedP5 1/18/2019 0:00 
944414512 - RA Models - Secondary LaunchIssuePudong sales office is unable to receive the items because there is no RA model displayed in RNI Packing slipIn ProcessP23/21/2019 0:002/22/2019 0:00 
951904512 - RA Models - Secondary LaunchIssueSMMC_GSOF Promise Date is not update based on SSD + PPLTClosedP43/25/2019 0:003/7/2019 0:003/7/2019 0:00
3 REPLIES 3
sudanaditya
Regular Visitor

Any help is appreciated

sudanaditya
Regular Visitor

Hello -Let me create a simple table and explain it . In the below table the we are conting Priority for a date if the Issue category = Issue. Please find the Result table below as how it should display .

Thanks in advance

sudan

 

Open dateIssue CategoryPriority  
3/4/2019ActionP1  
3/4/2019IssueP1  
3/4/2019IssueP2  
3/5/2019IssueP2  
3/6/2019IssueP3  
     
     
Please note Issue category -Action is excluded  
Result    
OpendateP1P2P3P4
3/4/201911  
3/5/20191   
3/6/2019  1 
3/7/2019    
TeigeGao
Solution Sage
Solution Sage

Hi @sudanaditya ,

Sorry, I think I can't understand your requirement well. Could you please share the expected result to us? 

Best Regards,

Teige

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.