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
h2danilo
Helper I
Helper I

Filter is not working with CALCULATETABLE

 

Please, I need help to know what I'm doing wrong! 

I created two parameters to test, when I use parameter 1 ("p1") it doesn't work, however, when I use parameter 2 ("p2") it works.

 

My DAX Code:

 

Ctr1 =
var p1 = [Filtro Ini]
var p2 = DATE(2020;02;26)
Return
CALCULATETABLE(
Ctr3;
FILTER(
all(dData[Date]);
dData[Date] = p1
)
)
 

My TableMy TableRelationRelation3.png

 

 

 

 

10 REPLIES 10

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.