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.
Hi, I'm trying to do a dynamic stock turnover report in Power BI
I do have a table like the one called StockBalancePerDateTable and I need a DAX formula that gives me a New Table based on the date i choose, in this case it's 2018-01-29. I want the NewTable to show the latest stockbalance from the date I choose.
Thanks in advance
/Johan
Hi Johan3ngholm,
Create a new table using DAX like this:
New Table = FILTER ( Table, Table[Date] <= "2018-01-29" )
Regards,
Jimmy Tao
Thanks v-yuta-msft,
I have two issues with your sollution. First of all I can't filter when the column is formated as date. I solved this with a duplicate of the date column formated as number.
Next problem is that I get all records before the date that i choose. I only wants the latest of each article
Best regards
/Johan
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 |
---|---|
114 | |
97 | |
86 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |