Home / General / Display the selected value from the slicer in the card..

Display the selected value from the slicer in the card..

On this Page

Social Shares

Agenda:

  1. Problem Statements.
  2. Solution.

1. Problem Statement:

We need one card that will show some text and selected values from the slicer.

e.g., I have one slicer (i.e., year) and I want to display “Year is: 2022” depending on the slicer.

2. Solution:

Take one slicer, “Year.”

For the dynamic card, we need to create one measure.

Here is the DAX Expression:

Selected_val =

VAR Cond =

IF (

HASONEVALUE ( ‘Date Table'[Year] ),

SELECTEDVALUE ( ‘Date Table'[Year] ),

“”

)

RETURN

CONCATENATE ( “Year is : “, Cond )

Here, we are concatenating the text “” with a variable.

Take a new Card Visual and drag & drop this measure into the Card Visual.

Result:

Conclusion: We can display a dynamic selected value from the slicer with a static value in Card Visual

Rubika Jadhav

Data Analyst 

Addend Analytics 

Author By

Kamal Sharma

Kamal brings over 20 years of experience in data analytics and business intelligence. He has led the design and implementation of analytics solutions across operations, financial reporting, and performance improvement initiatives. With a background in business statistics and Six Sigma, his work focuses on applying data in a structured and practical way to solve real business challenges.

Author By

Kamal Sharma

Kamal Sharma

Kamal brings over 20 years of experience in data analytics and business intelligence. He has led the design and implementation of analytics solutions across operations, financial reporting, and performance improvement initiatives. With a background in business statistics and Six Sigma, his work focuses on applying data in a structured and practical way to solve real business challenges.

Decision-Ready Analytics

Turn your OEE dashboard into a decision system.

Book a 30-minute working session with our manufacturing analytics team.
Translate »