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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
lees
Frequent Visitor

Formula which selects the choice "INTERNAL" or "EXTERNAL"

hello

 I would like to create a formula which would make a choice between 2 results according to the selection 1 of the 2 filters

 

if I select the "EXTERNAL" filter, the "A" formula works
if I select the "INTERNAL" filter, the "B" formula works

 

filter 1 :EXTERNAL

filter 2 :INTERNAL

 

formula :

A-- Indicator= IF(folder_X[A]<=45,"ONTIME","LATE")
B--Indicator= IF(folder_X[A]<=30,"ONTIME","LATE")
1 ACCEPTED SOLUTION
Anonymous
Not applicable

SELECTEDVALUE is for harvesting the value selected in the slicer. SWITCH is for returning the correct value depending on the selected value.

View solution in original post

3 REPLIES 3
lees
Frequent Visitor

Could someone help me to create this formula I can not manage neither with "switch" nor with "selectvalue"

I don't think we can learn by publishing for each question "look at DAx Guide"

Anonymous
Not applicable

SELECTEDVALUE is for harvesting the value selected in the slicer. SWITCH is for returning the correct value depending on the selected value.

Anonymous
Not applicable

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.

Top Solution Authors