Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
** Need Help
I have a table with project Id, Date and Value
How can I write DAX to Display
If Single Date is Selected then display value from that month or the last entered value for the project
If Date is in Range then display value from the last month for each project or the last entered value for each project
projectID | value | date | Month |
1 | 4 | 1/1/2019 | Jan |
1 | 98 | 2/1/2019 | Feb |
1 | 96 | 3/1/2019 | Mar |
1 | 92 | 4/1/2019 | Apr |
1 | 96 | 5/1/2019 | May |
1 | 94 | 6/1/2019 | Jun |
1 | 69 | 7/1/2019 | Jul |
1 | 98 | 8/1/2019 | Aug |
1 | 73 | 9/1/2019 | Sep |
1 | 73 | 10/1/2019 | Oct |
1 | 90 | 11/1/2019 | Nov |
1 | 96 | 12/1/2019 | Dec |
2 | 76 | 1/1/2019 | Jan |
2 | 110 | 2/1/2019 | Feb |
2 | 96 | 3/1/2019 | Mar |
2 | 25 | 4/1/2019 | Apr |
2 | 25 | 5/1/2019 | May |
2 | 26 | 6/1/2019 | Jun |
2 | 0 | 7/1/2019 | Jul |
2 | 206 | 8/1/2019 | Aug |
2 | 44 | 9/1/2019 | Sep |
2 | 100 | 10/1/2019 | Oct |
2 | 95 | 11/1/2019 | Nov |
2 | 70 | 12/1/2019 | Dec |
3 | 12 | 1/1/2019 | Jan |
3 | 8 | 2/1/2019 | Feb |
3 | 318 | 3/1/2019 | Mar |
3 | 125 | 4/1/2019 | Apr |
3 | 45 | 5/1/2019 | May |
3 | 358 | 6/1/2019 | Jun |
3 | 22 | 7/1/2019 | Jul |
3 | 48 | 8/1/2019 | Aug |
3 | 65 | 9/1/2019 | Sep |
3 | 78 | 10/1/2019 | Oct |
3 | 12 | 11/1/2019 | Nov |
3 | 57 | 12/1/2019 | Dec |
User | Count |
---|---|
5 | |
5 | |
3 | |
2 | |
2 |
User | Count |
---|---|
9 | |
7 | |
4 | |
4 | |
4 |