Forum Discussion
Counting data per day if data rows are date/time format
- 6 years ago
Hi Anonymous
Could you please let me know if you'd like to get this one?
1. I changed your date/time column as Date in power query:
2. Add the measure :
Measure = CALCULATE(DISTINCTCOUNT(Table1[User]),ALL(Table1),VALUES(Table1[Date]))3. Create the visual:
Pbix attached.
- Anonymous6 years ago
Thanks for the tip! What I did was similar to this, creating a new column with just the date, no timing. I was finally able to achieve what I wanted.
HI,
Can u share ur file and a required look in excel
Please check
https://drive.google.com/file/d/1lfEDPAzvvLrBPKZgfT07WCVsm1L0xDsZ/view?usp=sharing
is it help u?
TIA
- Anonymous6 years agoNot applicable
Hi nahid3152,
Thanks for sharing some thoughts on this and sharing your sample file. Unfortunately, I am unable to share online files due to org's security policy. However, I am attaching an Excel graph which is what I want to have in Power BI.
The file you shared is not what I was looking for.
My target graph
Any thoughts on how to do this in Power BI?
- nahid31526 years ago
Helper II
HI Anonymous
Here is the link
https://drive.google.com/file/d/1zAzPdKyhjLabfpN-c_-aiHodQMr52pSG/view?usp=sharingIs it OK NOW?
- Anonymous6 years agoNot applicable
Sorry nahid3152, as there will be hundreds of servers on the official data, I was hoping that I will just be able to create the visual without doing another pivot. I just showed the graph I created in Excel as an example of what I want the end result to be, just using the original data source. Is that possible in Power BI? Or do I need to create a measure to calculate the number of users who logged in per day? Thanks!