The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
79 | |
71 | |
48 | |
41 |
User | Count |
---|---|
137 | |
108 | |
69 | |
64 | |
58 |