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.
Hello All,
I'm looking to create a new table in my power BI data model whereby the values in a column from the first table become the columns of the other table (like a pivot table), however, I want to use the second table as a table in the model not the matrix visual in the report. what I want to accomplish is effectively below. I want to create measures based on Table 2.
Table 1
Ticket | Task | Complete Date |
Ticket1 | Task1 | May1 |
Ticket1 | Task2 | May2 |
Ticket1 | Task3 | May3 |
Ticket2 | Task1 | may2 |
Table 2
Ticket | Task1 | Task2 | Task3 |
Ticket1 | May1 | May2 | May3 |
Ticket2 | May2 |
Solved! Go to Solution.
Hello,
Thank you for the reply, I actually found my solution here:
https://community.powerbi.com/t5/Desktop/Calculated-table-with-columns-based-on-the-values-from-anot...
Pivoting one of the columns with a max date as the aggregate value is what I was looking for.
@Anonymous , not very clear, see if concatenatex can help
https://docs.microsoft.com/en-us/dax/concatenatex-function-dax
Hello,
Thank you for the reply, I actually found my solution here:
https://community.powerbi.com/t5/Desktop/Calculated-table-with-columns-based-on-the-values-from-anot...
Pivoting one of the columns with a max date as the aggregate value is what I was looking for.
Hi @Anonymous ,
Well done on finding the solution.
You should mark your own answer as the solution to this. This will ensure that others are directed straight to the post with the answer in it, not to a reply that contains no useful information.
Pete
Proud to be a Datanaut!
hi @Anonymous
It's pleasant that your problem has been solved, 😁 please accept my reply as answer, that way, other community members would easily find the solution when they get same issues.
Regards,
Lin
In Power Query you can create a "reference" copy of your Table 1, and then unpovit the reference copy...which will give you a table like table 2 that will appear in your data model and that you can use just like any other table.... it will be updated everytime you refresh your data sources.
Help when you know. Ask when you don't!
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 |
---|---|
111 | |
97 | |
80 | |
69 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |