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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
v-jayw-msft
Community Support
Community Support

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

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

2 REPLIES 2
v-jayw-msft
Community Support
Community Support

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

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.