The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi, I have a composite model, where I used a dataset from power bi and data from Google analytics. I have a Date Table in the dataset, in which I created also a hierarchy (automatic date hierarchy is disabled btw). I took the Google data, connected it to the date table and started building chart, where I wanted to display revenue (from GA) by Date hierarchy (from PBI Dataset). Unfortunately, the chart won't sort the hierarchy correctly, as you may notice below (just to confirm, I do sort it by the date hierarchy).
Any idea why is it happening and what to do with it? When I take some measure from the Power BI dataset, the hierarchy sorts correctly, but when I use a column from GA, it doesn't work anymore and starts sorting it as (I guess) a string.
Hi @zenisekd were you able to find a solution? I used the GA native connector but had some issues with my data sometimes. As a workaround, maybe you can try to test your connection with a 3rd party connector. I've tried windsor.ai, supemetrics and funnel.io. I stayed with windsor because it is much cheaper so just to let you know other options. In case you wonder, to make the connection first search for the GA connector in the data sources list:
After that, just grant access to your GA account using your credentials, then on preview and destination page you will see a preview of your GA fields:
There just select the fields you need. Finally, just select PBI as your data destination and finally just copy and paste the url on PBI --> Get Data --> Web --> Paste the url.
Hi, @zenisekd
Could you please tell me whether your problem has been solved?
If yes, you could accept the helpful answer as solution. You could also share your own solution here.
For now, there is no content of description in the thread.
Best Regards,
Community Support Team _ Eason
Hi, @zenisekd
It seems that you are using custom Date hierarchy.
It will be easier to sort Date hierarchy in a table visualization. So please follow thes steps:
Best Regards,
Community Support Team _ Eason
Hey @zenisekd ,
in the visual go to the 3 dots, chose to sort by date and then ascending:
This should fix your sort problem.