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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! 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

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.