Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello
I have a table like the below:
null, null, 01/01/2021, 02/01/2021, ...
Prod1, Price, 1, 2, 3, ....
Prod1, Quantity, 1, 2, 3, ...
Prod2, Price, 1, 2, 3
I want to create a measure to put in a graph where the x axis will be the dates and the y axis will be the Price of each Prod per date and another of the Quantity of each Prod per date.
Do I need to transpose the table?
Can you provide some ideas for the Measure please?
Thanks!
Solved! Go to Solution.
Hi, @Anonymous
You need to do some operations in the power query editor.
1. Select the two columns with empty headings, and then select merge columns.
2. After merging the first and second columns, select Transpose directly.
3. Add index column
4. Add the date column that was just lost in the conversion process.
5. Is this the output you expect?
If the method I provided above can't solve your problem, what's your expected result? Could you please provide more details for it?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
You need to do some operations in the power query editor.
1. Select the two columns with empty headings, and then select merge columns.
2. After merging the first and second columns, select Transpose directly.
3. Add index column
4. Add the date column that was just lost in the conversion process.
5. Is this the output you expect?
If the method I provided above can't solve your problem, what's your expected result? Could you please provide more details for it?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Please provide sanitized sample data that fully covers your issue. Paste the data into a table in your post or use one of the file services. Please show the expected outcome.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
66 | |
65 | |
57 | |
39 | |
28 |
User | Count |
---|---|
84 | |
60 | |
45 | |
41 | |
39 |