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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Is it possible that cards show only specific months without a filter?

Cards.PNG

Measure: Total Amount = count('Stammdaten Komplett'[ID])+0
FY 19/20 is correct and very nice but I need your advice on the 6 months and last month card. I filtert the last 6 or 1 month per month (example: only show July) but if i use the time slicer these to cards are useless of course.
Is there a way to calculated that the last month card always shows the last month without a specific filter (July, August...etc.)?

Thanks for your time! 
1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @Anonymous,

Maybe you can try to use date function instead of time intelligence functions in your formula. They not required a calendar table and can be nested with other functions.

BTW, can you please share some dummy data to test?

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @Anonymous,

You can consider adding a visual level filter on your cards to filter on specific data ranges or write switch functions in your dax expressions then it can return different results based on its row contents.

Add a filter to a report in Power BI 
Regards,

Xiaoxin Sheng

Daviejoe
Memorable Member
Memorable Member

Also, do you have a date table?

 

https://community.powerbi.com/t5/Desktop/Create-a-measure-that-shows-me-the-previous-month/td-p/6030...





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

Proud to be a Super User!




Daviejoe
Memorable Member
Memorable Member

These should help you

 

https://docs.microsoft.com/en-us/dax/previousmonth-function-dax

 

https://community.powerbi.com/t5/Community-Blog/To-bleep-With-Time-Intelligence/ba-p/1260000





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

Proud to be a Super User!




Anonymous
Not applicable

Thanks for the good information. I have a data table but my measure is this: 

 

Total Amount = COUNT('Stammdaten Komplett'[ID])

PM Count =
CALCULATE([Total Amount];PREVIOUSMONTH(Dates[Date])) is not right
 
Maybe the differance between count and calculate is the problem.
Anonymous
Not applicable

HI @Anonymous,

Maybe you can try to use date function instead of time intelligence functions in your formula. They not required a calendar table and can be nested with other functions.

BTW, can you please share some dummy data to test?

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.