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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
ckserra33
New Member

Using card as a measure?

Hi everyone.  I am VERY new to PBI so I may be stating some things incorrectly.  I am making a part usage report for our warehouse and I am trying to calculate the per day usage of each part.  So if I slice the report for 30 days, and use 60 of a single part, the value would be 2.  I am having trouble understanding how and where to capture that date.  I have a card displaying the number of distinct days being sliced.  A collegue told me to chack out using a variable but I am not ubderstanding that part just yet.  I think once I can get that value somewhere I can do the rest of the calculations.

 

Thanks

 

Chris

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @ckserra33 ,

 

You could use SELECTEDVALUE function - DAX | Microsoft Learn to catch the single value in slicer, or use VALUES function (DAX) - DAX | Microsoft Learn to catch multiple values in slicer.

Also take a look at MIN function (DAX) - DAX | Microsoft Learn and MAX function (DAX) - DAX | Microsoft Learn.

 

Best Regards,

Jay

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @ckserra33 ,

 

You could use SELECTEDVALUE function - DAX | Microsoft Learn to catch the single value in slicer, or use VALUES function (DAX) - DAX | Microsoft Learn to catch multiple values in slicer.

Also take a look at MIN function (DAX) - DAX | Microsoft Learn and MAX function (DAX) - DAX | Microsoft Learn.

 

Best Regards,

Jay

TomMartens
Super User
Super User

Hey @ckserra33 ,

 

I have to admit that I cannot follow, for this reason read this thread: https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1891875#M7259...

 

It demands a lot, maybe start simple and describe how your data looks like by providing sample data (use an Excel file). If you are wondering how to share the Excel file, upload the file to onedrive, google drive, or dropbox, and share the link. 

Here you will find an introduction into Power BI: https://powerbi.microsoft.com/en-us/learning/

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors