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
andywil456
Advocate II
Advocate II

if formula linked to ChicletSlicer

I'm trying to create card that will show a Target % range that will change per employee. 

Eg table 

DAWN25 - 30%
GEOFF25 - 30%
JAN25 - 30%
LYDIA25 - 30%
PHERETHA25 - 30%
VANESSA25 - 30%
HARSHEET18 - 25%
SAM18 - 25%
Company23 - 28% 

The problem i face is when i de-select an employee or select more than 1 employee how do i get the card to default to the company % range?

1 ACCEPTED SOLUTION

@andywil456

 

you have a page filter or report filter?.

 

Because don't see Company in your chiclet. If the answer is yes, the result is blank because Company was ignore in your report.

 




Lima - Peru

View solution in original post

3 REPLIES 3
Vvelarde
Community Champion
Community Champion

hi @andywil456

 

Use this Dax 

 

 

TheTarget =
IF (
    HASONEVALUE ( Table1[Name] ),
    VALUES ( Table1[Target] ),
    CALCULATE ( VALUES ( Table1[Target] ), Table1[Name] = "Company" )
)

Sin título.png




Lima - Peru

HI @Vvelarde

 

I have applied your Dax and it works when i select an employee, but when i de-select i get  (blank)  amount. 

 

TheTarget = IF ( HASONEVALUE ( 'July +'[Operator]), VALUES ( TARGETS[TARGET CONVERSION RANGE] ), CALCULATE ( VALUES ( TARGETS[TARGET CONVERSION RANGE]), 'July +'[Operator] = "Company" ) )

Untitled.jpg

@andywil456

 

you have a page filter or report filter?.

 

Because don't see Company in your chiclet. If the answer is yes, the result is blank because Company was ignore in your report.

 




Lima - Peru

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.