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 have a table as below (example). I want to create a report only showing the latest event for each customer but I can't seem to wrap my head around it.
Any help is welcome 🙂
CustomerNr1 | Event 1 | 19/01/01 |
CustomerNr2 | Event 1 | 19/03/03 |
CustomerNr1 | Event 2 | 19/02/02 |
CustomerNr2 | Event2 | 19/04/04 |
I want to show this view:
CustomerNr2 | Event 1 | 19/03/03 |
CustomerNr2 | Event2 | 19/04/04 |
Solved! Go to Solution.
hmmm, try a matrix instead of a table. Then you should be fine.
The MAX() function solves this problem.
Maxdate = MAX(date) <- measure.
Then add it to your column where your date normally is
I think I might be doing something wrong. If I create a measure like this: MaxDate = MAX('Calendar'[Date]) and then use this together with my column called "CustomerName" I end up with all the Customers in one column and todays date in the other.
So I don't get the latest event date for the customer, just the latest possible date. 😞
can you add event to that table?
Yes, but even with Events added I still end up with the same result. I have verified that my date column is formatted as Date/Time.
hmmm, try a matrix instead of a table. Then you should be fine.
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 |
---|---|
117 | |
107 | |
70 | |
70 | |
43 |
User | Count |
---|---|
148 | |
106 | |
104 | |
89 | |
65 |