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 dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
Dealing with somewhat of an odd problem. The example below, the data gets pulled automatically and the dates for a single report show up in different rows.
I know how to calculate # of days when the dates are in the same row, but not clear how to do it across rows. Any suggestions?
Including an image below - trying to figure out how to calculate # of days between the two circled dates.
Solved! Go to Solution.
Hi @amirzoyan,
I created a simple for test.
Please try.
Transform data.
Select all needed columns.
Unpivot Columns.
Select [Attribute] columns.
Pivot Column.
Close and Apply.
Attach the PBIX file for reference. Hope it helps.
Best Regards,
Community Support Team_Gao
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Hi @amirzoyan,
I created a simple for test.
Please try.
Transform data.
Select all needed columns.
Unpivot Columns.
Select [Attribute] columns.
Pivot Column.
Close and Apply.
Attach the PBIX file for reference. Hope it helps.
Best Regards,
Community Support Team_Gao
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
thanks for that!
but just to confirm - the steps you listed, how and where do I accomplish this?
This documentation is pretty good:
https://docs.microsoft.com/en-us/power-query/unpivot-column
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 |
---|---|
69 | |
64 | |
50 | |
36 | |
26 |
User | Count |
---|---|
85 | |
55 | |
45 | |
44 | |
36 |