Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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.
Date | ID |
May 1 | 10 |
May 2 | 10 |
May 3 | 11 |
May 4 | 12 |
May 5 | 11 |
May 6 | 12 |
May 7 | 10 |
Desired output:
Count of ID | Count of Date |
1 | 3 |
2 | 2 |
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.
Solved! Go to Solution.
I will switch this to another type of example, in a new post.
Maybe that will have better luck.
Consider this thread closed. Thanks
I will switch this to another type of example, in a new post.
Maybe that will have better luck.
Consider this thread closed. Thanks
So, is there no solution for doing this?
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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
81 | |
76 | |
61 | |
37 | |
33 |
User | Count |
---|---|
99 | |
56 | |
50 | |
42 | |
40 |