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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
EricHulshof
Solution Sage
Solution Sage

Data without values and filters.

Hey,

 

I hope this is a quick question. I have a visual showing data of a KPI. the % they were on time and the % they were not. looking like this. 

Knipsel.PNG

 

Id like too see this information on the previous 12 months. This can be done with a relative date filter and selecting show items without data. 

 

Problem is. On this visual i have 2 different visual filters. One is the team the KPI is from. And second the KPI we are looking at. As soon as i put these filters in the show no items doesnt work anymore and i only see the filled months.

How can i see 12 months and still use the team and KPI filters?

Thanks


Quality over Quantity


Did I answer your question? Mark my post as a solution!


1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

Please try

Rolling 12 = CALCULATE(sum(Sales[Sales Amount]),DATESINPERIOD('Date'[Date],ENDOFMONTH(Sales[Sales Date]),-12,MONTH))  

This will work best with date table. Also might have to use (date[month)), for the slicer value.

To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s.

Refer
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi

https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges

Connect on Linkedin

View solution in original post

3 REPLIES 3
Adamtall
Resolver III
Resolver III

amitchandak
Super User
Super User

Please try

Rolling 12 = CALCULATE(sum(Sales[Sales Amount]),DATESINPERIOD('Date'[Date],ENDOFMONTH(Sales[Sales Date]),-12,MONTH))  

This will work best with date table. Also might have to use (date[month)), for the slicer value.

To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s.

Refer
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi

https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges

Connect on Linkedin

This did help indeed, all i needed was to put the date month hierachy in the axis instead of just the month.

 

Sometimes life is so simple 🙂

 

Thanks again for the great help! 


Quality over Quantity


Did I answer your question? Mark my post as a solution!


Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.