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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
kcjeongzz
New Member

DAX HELP!!

Hello guys,

 

ddd.jpg

I want to determine if the Width Value from the left chart is between Width and Width2 from the right chart for every row.

 

For example, I want the DAX to be expressed in this way so I can calculate the total percentage later.

 

12.13X
12.13X
12.12X
12.11X
12.1O
12.1O
12.1O
12.09O
12.08O
12.08O

 

Any help, please?

 

Thank you 

 

2 REPLIES 2
harslan66
Frequent Visitor

You can use something like this:

 

Mold SIze = IF(AND(Table2[Width Value]>=12.40,Table2[Width Value]<=12.40),"No 0",
IF(AND(Table2[Width Value]>=11.90,Table2[Width Value]<=12.10),"No 1",
IF(AND(Table2[Width Value]>=11.00,Table2[Width Value]<=11.10),"No 2","NA")))

Thank you so much !

but the problem is there are more mold sizes ( a dozen more)

 

so it has to be dynamic TT

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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