• Skip to main content
  • Skip to footer

Curbal

Learn how to grow your business with your data and Power BI

  • Data Stories
    • Power BI Stories
    • 1 dataset, 100 matplotlib visualizations
  • Learning Portal
    • Download Center
    • 25 Days Challenge
    • DAX Glossary
    • Power BI
    • Power BI by Topic
    • Python
    • 1 dataset, 100 matplotlib visualizations
  • Courses
    • Power BI Mini Master Class 1: Using a REST API as a data source
    • Power BI Master Class 1: COVID Tracker
    • Introduction to Power BI – FREE Online course
    • M Language + Power Query Course Bundle
    • Power Query Online Training [updated 2022]
    • M Language Online Course: The unofficial and Practical Reference Guide [updated 2025]
    • My Courses
  • Shop
    • Courses
    • Master Classes
    • Template Apps
    • JSON Themes
  • Cart
  • Register/ Log In
    • Become a Member
    • Log In
    • My account
    • My Courses
  • Search
  • Contact
You are here: Home / CM Tooltip Glossary Pro+ / SELECTEDVALUE

SELECTEDVALUE

posted on December 5, 2017

« Back to Glossary Index

Syntax

SELECTEDVALUE(<columnName>[, <alternateResult>])

Tutorial with example

In today’s video, we will go through the DAX function SELECTEDVALUE. SELECTEDVALUE is syntax sugar for IF(HASONEVALUE(VALUES))

Link to Northwind dataset: https://www.youtube.com/watch?v=k3NMI…

DAX Fridays! #49: SELECTEDVALUE

Download example file:

To get the files:
1. Go to Curbal Download Center > Dax Fridays
2. Get File #49

Example 2: Get selected or multiple values from slicers

In today’s #daxfridays video I will show you how to get selected or multiple values from a slicer:

DAX Fridays! #118:  Get selected or multiple values from slicers using DAX

Download example file:

To get the files:
1. Go to Curbal Download Center > Dax Fridays
2. Get File #118

Example 3: Weekly time intelligence in Power BI

Are you also bummed out that there is no weekly time intelligence in DAX? Believe it or not, creating weekly calculations is easier than you think, and I show you how in this edition of #DAXfridays.

DAX Fridays! #124: Weekly time intelligence in Power BI

Download example file:

To get the files:
1. Go to Curbal Download Center > Dax Fridays
2. Get File #124

Remarks

An equivalent expression for SELECTEDVALUE(<columnName>, <alternateResult>) is IF(HASONEVALUE(<columnName>), VALUES(<columnName>), <alternateResult>).

Was this helpful?
« Back to Index

Reader Interactions

Comments

  1. AZIZ Quazi

    April 30, 2023 at 10:31 am

    Hi Ruth, a fantastic movie. Could you please help look into the total line – looks the total is for the Max ranks and not changing with the changes of selection like Top 3, Top 5, etc. Appreciate your time. Thanks.

    Reply
  2. feelfreetomakecontact

    September 10, 2022 at 2:55 pm

    Hi, I am unable to download source file for Sum, sumx, and isinScope functions

    Reply
    • Ruth Pozuelo Martinez

      September 14, 2022 at 12:10 pm

      The file you need to get corresponds to the dax friday’s video number. If you dont find it, then I dont have it, I am afraid.

      Reply
  3. rawatvikas00

    May 16, 2019 at 12:02 pm

    Hi ruth, can you show how to show comma separated values in card upon multiple selection i.e. – A, B

    Reply
  4. Waheed

    January 7, 2019 at 9:37 pm

    I can’t download the examples file
    Please, help

    Reply
    • Ruth Pozuelo Martinez

      January 7, 2019 at 9:57 pm

      All files have moved to the download center, please download it from there.
      /Ruth

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Footer CTA

Join our community of +50,000 professionals

Become a Member

Subscribe to YouTube

About me:

Curbal AB
Badhusgatan 7B
722 15 – Västerås
Sweden

OrgNo: 5569680852 | VAT: SE556968085201

 

Location:

© Copyright 2014-2025 · Curbal AB · All Rights Reserved · Privacy Policy · Terms of Service · Refund Policy · Log In