Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I need help filtering some data by year. The problem is that there isn't a date value in the data set I have, its just value columns with their year in the column heade name, i.e:
2015 number of customers
2016 number of customers
2015 total sales
2016 total sales
I need a way to filter by year, but when I add a filter to the report, it filters by the values (i.e. filters by sales $ or # of customers) since the only indication of year data is in the name of the columns.
Thank you for your help!
Solved! Go to Solution.
Hi @QRS_04,
If I understand your sceanrio correctly that you have a column with the values like below and you need a year column to filter your data?
2015 number of customers
2016 number of customers
2015 total sales
2016 total sales
If it is, you could get the year by spliting your raw column in Query Editor.
Then you could change the year column to be date type.
Best Regards,
Cherry
Hi @QRS_04,
If I understand your sceanrio correctly that you have a column with the values like below and you need a year column to filter your data?
2015 number of customers
2016 number of customers
2015 total sales
2016 total sales
If it is, you could get the year by spliting your raw column in Query Editor.
Then you could change the year column to be date type.
Best Regards,
Cherry
Thanks for your help, Cherry!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |