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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
eugenm
Helper II
Helper II

Pivot table and grouping by # of distinct date values

Hi folks,

 

My source data has long format and date format date values and a column called ID.
Here's a mock of the short format Date column and the ID column.

DateID
May 110
May 2

10

May 311
May 412
May 511
May 612
May 710

 

Desired output:

Count of IDCount of Date
13
22

 

I would like to do this in the visual, as I am working with a ton of data. Additional processing in the original data or adding calculcated columns, etc is not a great idea. But if that's the last resort, I may consider it.

 

How can I solve the challenge above? It seems to be a good place for a pivot table, maybe?

 

Thanks in advance.

1 ACCEPTED SOLUTION
eugenm
Helper II
Helper II

I will switch this to another type of example, in a new post.
Maybe that will have better luck.

Consider this thread closed. Thanks

 

View solution in original post

4 REPLIES 4
eugenm
Helper II
Helper II

I will switch this to another type of example, in a new post.
Maybe that will have better luck.

Consider this thread closed. Thanks

 

eugenm
Helper II
Helper II

So, is there no solution for doing this?

Sergii24
Super User
Super User

Hi @eugenm, could you elaborate a bit more on the desired output?

Count of ID
1
2


How would you achive this? If I look at yout sample, there are 7 IDs (3 unique: 10, 11 and 12) so I can't understand where this 1 and 2 comes from?

Sure. 
One ID (#10) occurs 3x.
Two ID's occur twice - they are #11 and #12.
Total= 7 unique ID's indeed.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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 Solution Authors