Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
hello everyone is have caelndar table,
i have a custom date table to allow me to choose between "last 30 days" , "last 60 days" , "last 90 days" , "current year" , "custom"
i made 2 measures
impressions = sum(impressions)
splm impressions =
here i seelct 60
as you see may is empty but it works from june and so on
here is no filters
Solved! Go to Solution.
Hi,
This issue is due to the date range filter (in Date Range List PvP) you are using. When selecting last 30 days the DAX formula no longer has more than 30 days of history to work with and that is why the "splm impressions" measure is showing up empty. In the other date ranges you mentioned there is more than 1 month of history for the first days but if you look at the tail end of the data you will notice data will start going blank again.
To fix this issue you will need to set the data range you need to calculate and then break the date range filter. Something like this might work:
splm impressions =
Var Max_Date =MAX('Calendar'[Date])
Var Min_Date = MIN('Calendar'[Date])
RETURN
CALCULATE(
Did I answer your question? Mark my post as a solution!
hello yes it worked for me the dates between isnt necessary i just had to add removefilter(date pvp[type])
Hi,
This issue is due to the date range filter (in Date Range List PvP) you are using. When selecting last 30 days the DAX formula no longer has more than 30 days of history to work with and that is why the "splm impressions" measure is showing up empty. In the other date ranges you mentioned there is more than 1 month of history for the first days but if you look at the tail end of the data you will notice data will start going blank again.
To fix this issue you will need to set the data range you need to calculate and then break the date range filter. Something like this might work:
splm impressions =
Var Max_Date =MAX('Calendar'[Date])
Var Min_Date = MIN('Calendar'[Date])
RETURN
CALCULATE(
Did I answer your question? Mark my post as a solution!
hello yes it worked for me the dates between isnt necessary i just had to add removefilter(date pvp[type])
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
9 | |
8 | |
8 |
User | Count |
---|---|
14 | |
12 | |
11 | |
11 | |
8 |