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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
dana1
Frequent Visitor

Help with Measure

hello,

 

i have a table (CALL CENTER)  that contain 4 measure's (and ather columns, but thay are not relevent to my QA)

every measure calculate different percent-

1. X= improve avg wait time by 10%

2. Y= improve avg wait time by 2%

3. Z= improve avg wait time by 5%

4. W= conservation avg wait time.

and i have Another table that contain dates (DIM_DATE)

 

I need to create a report with hierarchySlicer by month, and when the users choose in the slicer september they will get the measure X , and when they choose in the slicer may they will get the measure Y, and when the users choose in the slicer july they will get the measure Z, Otherwise thay will get measure  W.

 i can't find a measure that will give me what i need.. 

any Suggestions?

 

 

1 ACCEPTED SOLUTION

HI @dana1

 

Try replacing SELECTEDVALUE with VALUES

 

Then Select a single MONTH from DIM_date[month] slicer lets say "May"

 

 

 

 

View solution in original post

3 REPLIES 3
Zubair_Muhammad
Community Champion
Community Champion

Hi @dana1

 

Try this MEASURE

 

Measure =
IF (
    SELECTEDVALUE ( DIM_Date[Month] ) = "September",
    [X],
    IF (
        SELECTEDVALUE ( DIM_Date[Month] ) = "May",
        [Y],
        IF ( SELECTEDVALUE ( DIM_Date[Month] ) = "July", [Z], [W] )
    )
)

hi @Zubair_Muhammad

 

First of all, thanks for the help!

I'm trying to do the measure, but when i do SELECTEDVALUE i cant choose a column ( DIM_date[month] ) ,

i can only choose a measure..

 

any Suggestions?

HI @dana1

 

Try replacing SELECTEDVALUE with VALUES

 

Then Select a single MONTH from DIM_date[month] slicer lets say "May"

 

 

 

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors