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 all,
I recently had a hard time.I need some help.
Use the count function to find that the time that is a few seconds apart is counted separately when counting the number of times.But for me, within a minute, they can be counted as one.
How do I design a measure?I can't use the count function and the count rows function to achieve satisfactory results.
Solved! Go to Solution.
you can create a new column
Proud to be a Super User!
Hi @Yumikang - Create a calculated column on your existing tables as below minuteinterval column:
Create a measure to find the distint count on the top of the column as below:
Proud to be a Super User! | |
sorry i need the 2 show as 1 time
you can create a new column
Proud to be a Super User!
Yes, thank you very much for your guidance. I've added a new "time column" of values that meets my requirements.
Now I have a new requirement to create a new measure to calculate the number of times a name is showed. if the "time column" is the same, then the name is also counted 1 time. If the "time column" is not the same, then count the name showed times nomatter the name is same. If the name is blank, it will not be counted.
then you can try to DISTINCTCOUNT the time column.
Proud to be a Super User!
User | Count |
---|---|
84 | |
81 | |
64 | |
53 | |
45 |
User | Count |
---|---|
100 | |
48 | |
42 | |
39 | |
38 |