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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

please suggest dax for Select Type from Table_Name where id=1 ?

Hello Team,

     can i get some dax for below SQL statement and let me know please.

 

Select "Type" From Table_Name where Id=1,

 

I dont want to create other table like summarize or calculate table by using some measure is it possible?

1 ACCEPTED SOLUTION
Jayee
Responsive Resident
Responsive Resident

Hi @Anonymous ,

 

Measure will give only a single value if it solves your requirement try below one

Measure = calculate(max(Type),id=1)

If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!
 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

@Jayee ,
  i will telly you my requirement here .

When i select one value from slicer it should show that Name in KPI Card but when i select more than one value from slicer it suppose to show particular Name in KPI Card.

Suppose:-

values in slicer A,B,C,D.
1.when i select single value from above A,B,C,D shows respective value Card.
2.When i multi select like A and C then it show A in Card.

can you give any idea please.

Jayee
Responsive Resident
Responsive Resident

@Anonymous ,

 

suppose "letters" is the field name for the values A,B,C,D.

when you are using this Letters field in the slice then create a measure like

MinLetter = min(letters)

then use the filed in Card visual. it will give you the expected result

Jayee
Responsive Resident
Responsive Resident

Hi @Anonymous ,

 

Measure will give only a single value if it solves your requirement try below one

Measure = calculate(max(Type),id=1)

If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!
 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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