Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello community,
I have a pivot table connected to a Power BI data model (get data from Power BI), in the data model the Month-Name and MM-YY columns are sorted by another column and woks perfect. The problem is in excel pivot table when I sort the dates in a different way to the data source order it doesn't work ( for any of date fields: date , month, period or MM-YY). I understand excel doesn't recognise Date data from Power BI as a number, but this is happening also with month number or period.
Any suggestion?
Thanks in advance
Solved! Go to Solution.
Hi @Hsilva
What I have found is that you need to create a date table and link your date column to the date table. Then make sure to mark your date table as a Date TABLE.
Set and use date tables in Power BI Desktop - Power BI | Microsoft Learn
Then once that is done and you have uploaded your Power BI report to the service, then connect with Excel and it should work with the dates.
Hi GilbertQ, thank you for your help.
Yes; they are number, but the calendar table was created in Power Pivot in excel (not in power query).
this model was initially created in Excel then imported to Power BI.
does that answer your question?
Thank you.
Hi @Hsilva
What I have found is that you need to create a date table and link your date column to the date table. Then make sure to mark your date table as a Date TABLE.
Set and use date tables in Power BI Desktop - Power BI | Microsoft Learn
Then once that is done and you have uploaded your Power BI report to the service, then connect with Excel and it should work with the dates.
Hi Gilbertm thank you for your help.
yes I have calendat table with a dete column (market as a date table) adn also linked to the date calumn from the fact talbe.
Hi @Hsilva
Can you confirm that even though your column might have a number in it, is the data type set to whole number?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
48 | |
31 | |
27 | |
27 | |
26 |
User | Count |
---|---|
61 | |
56 | |
35 | |
31 | |
28 |