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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
amalrio
Helper V
Helper V

Fileting calculate with a text field.

Hi all,

I have a mesure which works fine below (image 1). I want to add a filter in the calcualte which is coming from a measure, the filter measure is as below (Image2). when I add this in to the image1 measure it gives me the error of image3.

 

any quick fix 🙂

 

thanks a lot for your help.

 

Image1

amalrio_0-1622168851409.png

 

Image2

amalrio_1-1622168942769.png

 

Image3

 

amalrio_2-1622169098022.png

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@amalrio , Try to change first calculate with filter

calculate(sum('Fact-data'[Numeric]), filter('Dim-Metric', 'Dim-Metric'[Matrix_id] =35 && 'Dim-Metric'[Version_id] =[Versonname]))

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@amalrio , Try to change first calculate with filter

calculate(sum('Fact-data'[Numeric]), filter('Dim-Metric', 'Dim-Metric'[Matrix_id] =35 && 'Dim-Metric'[Version_id] =[Versonname]))

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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