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've created a new column in query editor that uses the End of Month function and it has generated the dates which range from 31.01.2017 - 31.03.2020.
I'm trying to use the Max date on a card from this column however it keeps showing the max date as 31.12.2019 and the first date as 28.02.2019. Why is it not showing the first date as 31.01.2017 and last date as 31.03.2020? I've checked and there's no filters etc applied, the whole data set is there.
Thanks in advance!
Saj
@Anonymous
Could you please share the screenshot of your measure and data?
Proud to be a Super User!
@Anonymous ,
Show some screen shot of that cards. And also what DAX you are using for Max and MIn date on Card visuals.
Also meanwhile try the below:
For Showing MIN Date = Take date column on card and select Earliest option (As per below Screen shot)
FOr Showing MAX Date = Take date column on card and select Latest option
I can't share a screenshot.
I have tried using the earliest and latest and it didn't work either. I'm using MAX('Sheet1'[Date]) in my formula.
I mentioned in the original post that I've checked all filters, nothing is being applied, which is why I can't workout why the max and min wouldn't be working.
@Anonymous
Maybe you can try this.
create a new table
datetime = CALENDAR(date(2017,1,31),date(2020,3,31))
create min and maxdate
maxdate = max('datetime'[Date])
mindate = min('datetime'[Date])
Proud to be a Super User!
It needs to be dynamic using the dates in the dataset
User | Count |
---|---|
84 | |
75 | |
73 | |
42 | |
36 |
User | Count |
---|---|
114 | |
56 | |
52 | |
43 | |
42 |