Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi everyone
I'm loosing my mind on a simple case, but I can't find why it doesn't work
So I have a table like this one:
| Project Type | User | #Count | ProjectName | Start | Finish |
| A | Architecture | 2 | Test | 13/01/2016 | 13/01/2016 |
| A | Architecture | 1 | Test | 14/01/2016 | 13/01/2016 |
| A | Architecture | 2 | Test | 14/01/2016 | 14/01/2016 |
| A | Architecture | 1 | Test | 15/01/2016 | 14/01/2016 |
| B | Software | 5 | Test | 13/01/2016 | 15/01/2016 |
| B | Software | 5 | Test | 14/01/2016 | 15/01/2016 |
| A | Project Manager | 2 | Test | 13/01/2016 | 15/01/2016 |
| A | Project Manager | 2 | Test | 13/01/2016 | 14/01/2016 |
A | Project Manager | 2 | Test | 14/01/2016 | 14/01/2016 |
From this table, I'd like to get something like this one:
| A | Architecture | 5 | Test | 13/01/2016 | 14/01/2016 |
| B | Software | 10 | Test | 13/01/2016 | 15/01/2016 |
| A | Project Manager | 4 | Test | 13/01/2016 | 15/01/2016 |
| B | Project Manager | 2 | Test | 14/01/2016 | 14/01/2016 |
So I'd like to count the number of architecture, Sofwtare and Project Manager and take the max date in my last column
So I've tried things like Max=Calculate(MAX([Finish]),ALLEXECPT([USER])) but it didn't work
Any idea of what I'm doing wrong?
Thank you for your help
Kr,
Tom
Solved! Go to Solution.
@Anonymous this should work, basically give max of finish date for the user against all the records of that user
Max=Calculate(MAX([Finish]),ALLEXCEPT(Table, [USER]))
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@Anonymous this should work, basically give max of finish date for the user against all the records of that user
Max=Calculate(MAX([Finish]),ALLEXCEPT(Table, [USER]))
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Ok so to do work, I had to add another measure for my Begin date column
Weird but now it's working
@Anonymous 🙂
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
| User | Count |
|---|---|
| 55 | |
| 42 | |
| 28 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 74 | |
| 60 | |
| 40 | |
| 22 | |
| 22 |