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.
Hi, I'm kinda new to this, but have a good programming history. I've looked around for different solutions to this, and have not come up with anything I can use.
Raw data is "CreateDate" (of type date), and "CreatorName" with the users AD username.
I have a table with dates. I've used a Bin by 1 day to create a table with different count values. This one just counts all the records in the table.
The Bin for "Create Date" is this:
I created a simple Column for "Create Count" which is "Create Count = 1". I have some other sum/if columns that also work ok.
Stuff like this works well (and groups by the BIN):
Solved! Go to Solution.
Hi,
May be i am over simplifying this but drag Date/Month from the Date Table and write this measure
=DISTINCTCOUNT(Table[CreatorName])
Hi,
May be i am over simplifying this but drag Date/Month from the Date Table and write this measure
=DISTINCTCOUNT(Table[CreatorName])
Ahhh - Got it! It's a combination of this Solution, which is correct in it's own way - but REALLY important also is that fact that it's a MEASURE - NOT a Column.
I did the exact same thing as a Measure, and Column. Column gives a few hundred thousand on each row!, and the measure gives the correct count.
I'll just search up what the differences are between the two, but for now, that's got me where I needed to go.
Try something like this.
Measure =
COUNTROWS(
SUMMARIZE( 'Table', 'Table'[CreateDate ], 'Table'[CreatorName] )
)
Thanks @Mariusz , I did try something like this also earlier yesterday. It does make sense programatically too, but I don't understand the output AT ALL?! Because the source table only has 32k rows in it??? So how could I be getting numbers higher than this? (I'm really confused by this, it just shouldn't be that hard surely?)
I tried with the Bins date, and the normal (CreateDate) dates, but neither return anything close to what I want (both well over 32k)
Any help with this? I've been trying lots of different things, but I can't figure it out. The numbers are all really large, so I'm figuring it must be something to do with the Binning of the date, and the overall counts of anything unique multiplied by the bins perhaps? (otherwise I don't know how I can go from 32k rows, to a distinct count of somewhere in the 000's?)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
100 | |
80 | |
63 | |
58 |
User | Count |
---|---|
148 | |
111 | |
94 | |
84 | |
67 |