Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
If Sales for Salesperson in current month = 0, the following DAX will then fetch the Sales Amount for the last month that it can see Sales (at least I think this is what is happening)
I can't replicate that behaviour. Can you share a sample PBIX without any confidential information ?
Hi - Yes, all set up as such (changed Posting Date to my Date Table [Date] and same result. Otherwise, all is working fine with completely expected results across the board with the odd exception that if there are no sales in that month, then it will return the sales from the last month it can detect a sale in. There just seems no logic to why it would do that.
For the time intelligence functions to work correctly you need to have a proper date table marked as a date table. Set up a date table linked to your sales table and then use the date column from that as the parameter to DATESMTD
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
18 | |
15 | |
14 | |
11 | |
8 |
User | Count |
---|---|
24 | |
19 | |
12 | |
11 | |
10 |