Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
AgataJ
Frequent Visitor

Relative date

Good morning Power BI community,

 

I have an issue with last 30 days relative date filter.

I have a simple column chart that shows BD avg in the last 30 days. 

Master Calendar  - Date - X axis

Receipt - BD Avg - Y axis

 

Relationships: Master Calendar 1:* Receipt.

 

BD Avg is a measure

"BD Avg = CALCULATE(AVERAGE(Receipt[BD]),USERELATIONSHIP(Receipt[Post Date],CalendarMaster[Date]))"
 

Everything was working properly till last week, and now I cannot filter the date by last 30 days as the chart is blank then. When I try to filter by last 3 months it is ok though. 

 

I haven't change anything in the relationship or made any other changes.

 

 This is the original visual:

Original bar chart.PNG

 

Here is what I can see now:

After issue.PNG

 

And here is now without any date filter, looks ok till I want to filter it.

 

No Date Filter.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

I have spent lots of time trying to fix it by google search of similar issues, but still don't have the answer.

I would appreaciate any piece of advice on it.

 

Reagrds,

Agata

 

 

 

 

 

 

 

 

 

 

4 REPLIES 4
amitchandak
Super User
Super User

@AgataJ , first of all, check do you have data in fact/s for the last 30 days. In case you are using date table, does date table has dates for last 30 days

Hi @amitchandak , thank you for your time and reply.

I have just checked both tables, Master Calendar has dates in the last 30 days, Receipt table has orders in the last 30 days as well.

 

Kind regards,

Agata

@AgataJ
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Hi @amitchandak 

 

I started to prepare the file to send it here, I was removing slicers and it turned out all data showed back when I removed one of the slicers. So i think the issue is here, now I need to review it.

 

Thank you very much for your time, without your question about sending data I would not get to it 🙂

 

A.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors