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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors