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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Mohsen_2020
Helper III
Helper III

How to show numbers in number card as static

Hi Team, 

I created a simple measure calculating total sales for all countries and it's working perfect after putting in a number card but i want to be a static number as it's changing everytime i am clicking on any country on the map located in the same report, please advise. 

Regards,

Mohsen 

ss.png

 

1 ACCEPTED SOLUTION

Try this:

Total Minutes Spent YTD =
CALCULATE(SUM('Calls_Per_MD'[Total Effective Meeting Duration]), ALL(Calls_Per_MD))
 
Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

View solution in original post

6 REPLIES 6
amitchandak
Super User
Super User

@Mohsen_2020 . Either create the meausre like

calculate([total minute spend],all(country))

or

stop ineraction -https://docs.microsoft.com/en-us/power-bi/create-reports/service-reports-visual-interactions

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Greg_Deckler
Community Champion
Community Champion

@Mohsen_2020 - Either use ALL in your measure used in your Card visual or use Edit Interactions on the View menu to disable interactions between other visuals and your card visual.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Please help to adjust the code to make it static, code is showing below:

 

Total Minutes Spent YTD =
SUM('Calls_Per_MD'[Total Effective Meeting Duration])
 
Regards,
Mohsen

Try this:

Total Minutes Spent YTD =
CALCULATE(SUM('Calls_Per_MD'[Total Effective Meeting Duration]), ALL(Calls_Per_MD))
 
Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

@Tahreem24 , Amazing! it's working Perfect and many thanks for your help.

 

Regards,

Mohsen

Glad that my solution worked for you. 

Good Luck Mohsen!

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors