March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I'm incredibly new to powerBI, only started last week,please be gentle!
I 4 calculated columns, each returning a unique date for a specific ID, it looks like this when I put it into as table:
ID | Date1 | Date2 | Date3 | Date4 |
1 | %DateValue% | |||
1 | %DateValue% | |||
1 | %DateValue% | |||
1 | %DateValue% |
It works, but it's very clunky, so I'd like to have it display like this:
ID | Date1 | Date2 | Date3 | Date4 |
1 | %DateValue% | %DateValue% | %DateValue% | %DateValue% |
2 | %DateValue% | %DateValue% | %DateValue% | %DateValue% |
3 | %DateValue% | %DateValue% | %DateValue% | %DateValue% |
4 | %DateValue% | %DateValue% | %DateValue% | %DateValue% |
I've been playing around with a few things, importing the data (from CSV) into another table and manipulating it there with relationships on the ID etc. but I just don't understand what's happening there well enough to get this working. Can anyone help?
Hi @BenMoores
You can do it easily in Power Query, go to Transform Data > select your table > Home > Group By > set everything as on the screenshot below and click ok.
also, see the attached for reference.
Thanks for the reply Mariusz 🙂 As the data is in calculated columns, I'm not able to bring that into the transform. I'll google and see if there's a way to do this but it seems it might not be possible
Hi @BenMoores
Instead of Calculated column, you can create a custom column in Power Query and perform group by ( as explained by @Mariusz )
You can read up here ( how to add a custom column in Power BI)
https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-add-custom-column
Thanks
Deepak
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
23 | |
16 | |
15 | |
7 | |
6 |
User | Count |
---|---|
33 | |
29 | |
16 | |
13 | |
12 |