This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
I have a column in PowerBI in which I want to display dates in yyyy-mm format, a goal that I have with this column is to create a filter that allows a user to select the year-month combination for which it wants to see information.
Whenever I have my data formatted in "long format", I neatly get one option per possible date in filters and such (even though multiple rows may contain the same date). So when I choose a certain date I might get to see multiple rows. This is exactly what I want:
But when I change the "indeling" to yyyy-mm, suddenly Power BI will show multiple options for exactly the same yyyy-mm combinations. When I messed around with the filter, it seems that each unique row in my data now suddenly gets a seperate yyyy-mm option, despite being identical to others:
I don't really understand why this would happen, at first I thought it was because the yyyy-mm would introduce duplicates, but these duplicates were already present in long format where everything worked fine.
Can someone help me make this column in yyyy-mm format, where I only have 1 option per "yyyy-mm" combination? So e.g. there should be one option 2015-01 that shows all rows with MonthYear = 2015-01. Thank you in advance for your time
Solved! Go to Solution.
Hi @Anonymous
It seems that you are only formatting the date column. Have you tried to create a new column that returns the Year - Month combo?
Hope this helps you.
Hugh
Hi @Anonymous
It seems that you are only formatting the date column. Have you tried to create a new column that returns the Year - Month combo?
Hope this helps you.
Hugh
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 21 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 56 | |
| 55 | |
| 43 | |
| 26 | |
| 24 |