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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Paulyeo11
Impactful Individual
Impactful Individual

How to convert expression from count by customer to YTD ?

Hi All

 

I have following expression working fine :-

COUNT = Distinctcount(SALES[COMPANY])
Hope some one can advise how to convert above expression to YTD.
 
My PBI file :-
 

 

Paul
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Have you tried this :

 

COUNT_ = TOTALYTD(Distinctcount(SALES[COMPANY]),'Date'[Date])

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Have you tried this :

 

COUNT_ = TOTALYTD(Distinctcount(SALES[COMPANY]),'Date'[Date])

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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