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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

MultiDateCounts

Hi,

I have data with multi status dates. When I try working dates individually they are working fine but when I try to combine multi date counts in a table or achart it is taking first column/axis as source. Please help how to achieve this, I am pretty new to Power Bi and DAX.

 

NumberInitiated onClosed onStateWeek Start
MOC0517211810/9/2020 Prossing10/12/2020
MOC0517632610/12/2020 Prossing10/12/2020
MOC0517876910/13/202010/13/2020Completed10/12/2020
MOC0518564610/13/202010/13/2020Completed10/12/2020
MOC0519214510/14/202010/23/2020Completed10/12/2020
MOC0519266510/14/202010/22/2020Completed10/12/2020
MOC0519950610/15/202010/23/2020Completed10/12/2020
MOC0519958810/15/2020 Prossing10/12/2020
MOC0520140310/16/202010/16/2020Completed10/12/2020
MOC0520486110/16/202010/16/2020Completed10/12/2020
MOC0520692210/16/202010/16/2020Completed10/12/2020
MOC0521164110/19/202010/20/2020Completed10/19/2020
MOC0521597710/20/202010/20/2020Completed10/19/2020
MOC0522208410/20/2020 Pending10/19/2020
MOC0522520710/21/2020 Pending10/19/2020
MOC0522785910/21/202010/21/2020Completed10/19/2020
MOC0523134410/22/202010/23/2020Closed10/19/2020
MOC0523238610/22/2020 Pending10/19/2020
MOC0523885610/23/2020 Prossing10/19/2020
MOC0524239910/23/2020 Allocated10/19/2020

 

I am trying to achieve as below

 10/12/2020Count Initiated On11
 10/12/2020Count Closed on8
 10/12/2020SameDay Closed on5
10/19/2020Count Initiated On9
10/19/2020Count Closed on4
10/19/2020SameDay Closed on2
1 ACCEPTED SOLUTION
CNENFRNL
Community Champion
Community Champion

Hi, @Anonymous , both DAX and M do the trick with ease. you might want to refer to the attach file for details.

 

DAX solution,

Screenshot 2020-10-29 225300.png

 

PQ solution,

Screenshot 2020-10-29 225343.png

 

 


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

View solution in original post

6 REPLIES 6
CNENFRNL
Community Champion
Community Champion

Hi, @Anonymous , both DAX and M do the trick with ease. you might want to refer to the attach file for details.

 

DAX solution,

Screenshot 2020-10-29 225300.png

 

PQ solution,

Screenshot 2020-10-29 225343.png

 

 


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

Anonymous
Not applicable

Seems having issues open the file, have restrctions. can please copy the conditions so I can relate. Appreciate.

 

Sincerely,

Krishna.

Anonymous
Not applicable

Hi, I am excited to look at the solution however I was not able to download the file. Requesting can please share the file again.

Look forward for your reply.

 

Sincerely,

Krishna. 

@Anonymous , I think I've linked the file correctly. 🤔

Or, you try this link directly,

https://1drv.ms/u/s!AsDP3LYI8umsgSWcrgaI4IH3BL2O?e=i99kbq

 


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

Anonymous
Not applicable

Appreciate for sharing, I was able to locate the file.

 

Thanks 

Krishna.

Anonymous
Not applicable

I was not able to open the file due to restrictions, requesting can please share the screen captures.

 

Thanks

Krishna.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Kudoed Authors