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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello Power BI community,
I ran into a problem when trying to get the sales from different custom periods.
I created a new calendar table to get a union column with different period ranges (last 7 days, last 15 days, las 30 days, this month, last month and a personalized time period to select from a slicer.
I am trying to get the sales from the previous selected period, this is the DAX code I have:
However, when choosing a customized range, the result is "blank"
Thanks in advance for all your help!