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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

Greg_Deckler
Super User
Super User

@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.


@ 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!:
The Definitive Guide to Power Query (M)

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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