Forum Discussion
Google Analytics Filter by Year
Hi Anonymous
Check the data type of column "year",
If it is of type number, please change the "2018" , "2019", to 2018, 2019.
Please look at my test below:
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous7 years agoNot applicable
Thanks for the suggetion v-juanli-msft . That does not fix this issue as modifying the datatype interferes with the way Power BI modifise google analytics API calls. If I filter on a time dimension it can/should send a query to GA with the time filter applied. That is not happening with year.
- v-juanli-msft7 years agoCommunity Support
Hi Anonymous
My solution doesn't need you to change the data type of your data model, just modify your string code below
change "2018" and "2019" to 2018,2019
Did you try this and it still not fix?
Best Regards
Maggie - v-juanli-msft7 years agoCommunity Support
Hi Anonymous
Is this problem sloved?
If it is sloved, could you kindly accept it as a solution to close this case?
If not, please let me know.
Best Regards
Maggie