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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Tumbleweed
Helper II
Helper II

Slicer - Need help with calculated column or measure

Dear Community,

 

I have to show weekly hour length in a slicer. I used the following DAX

that doesn't have any affect on the matrix. How I can create interactive measure/CC for the slicer? Thank you

 

Weekly OT Length =
SWITCH(
TRUE(),
'Table'[Measure Weekly OT Hours]2"< 2 Hours",
'Table'[Measure Weekly OT Hours] >2">= 2 Hours")

 

1 ACCEPTED SOLUTION
MahyarTF
Memorable Member
Memorable Member

Hi,

According to your shared file, there isn't any active relation between 'Hours Per Week 1' and 'Table' and also the other relations direction are to the particular tables, so we don't expect could filter the destination table based on the measure in other (no relational) table.

Please find the other design for your data model to create the relation (or active the inactive ones).

Appreciate to Kudos

Mahyartf

View solution in original post

2 REPLIES 2
MahyarTF
Memorable Member
Memorable Member

Hi,

According to your shared file, there isn't any active relation between 'Hours Per Week 1' and 'Table' and also the other relations direction are to the particular tables, so we don't expect could filter the destination table based on the measure in other (no relational) table.

Please find the other design for your data model to create the relation (or active the inactive ones).

Appreciate to Kudos

Mahyartf

I rebuilt the whole model, thanks for advice!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.