Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have data of a stock portfolio with purchases and sellings of stocks (date, quatity, price). I need an input variable for the single reporting date in normal date format MM-YYYY. So far I was only able to create an input variable in serial number format.
In this way a user can easily select a reporting date (MM-YYYY) and the porfolio as per this particular date will be shown.
Solved! Go to Solution.
@PaulusB , You can use automatic date Hierarchy, but you will not get that format.
You can choose the format in column tools
Or create a new column in table or date table
Month Year = FORMAT([Date],"mm-yyyy")
Sort it on the sort column below
Month Year sort = FORMAT([Date],"yyyymm")
@PaulusB , You can use automatic date Hierarchy, but you will not get that format.
You can choose the format in column tools
Or create a new column in table or date table
Month Year = FORMAT([Date],"mm-yyyy")
Sort it on the sort column below
Month Year sort = FORMAT([Date],"yyyymm")
Thanks a lot for the very quick solution 🙂
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 53 | |
| 51 | |
| 36 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 92 | |
| 75 | |
| 41 | |
| 26 | |
| 25 |