cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lavdeepk
Resolver I
Resolver I

how to create calculated field that ignore filter power bi

Hi

 

I want create to calculated column in my power pivot data model that ingore filter.

I use this Dax Formula to create measure : =CALCULATE([Sum of Collection_INR],ALL('YTD'[Prd_Grp])) This works fine when i create measure. Problem is here I cant use measure in Pivot table raw field so i want to create to calculated column insted of measure.

Need your help is there any way/ Other dax formula by useing i can create calculated column in my power pivot data model that ingore filter@Ashish_Mathur

 

Thanks

Lavdeep

 

 

1 ACCEPTED SOLUTION
v-zhenbw-msft
Community Support
Community Support

Hi @lavdeepk ,

 

If you want to create a calculate column to replace the measure, maybe you can try the formula like this,

 

Column = CALCULATE(SUM('Table'[value]),FILTER('Table','Table'[Group]=EARLIER('Table'[Group])))

 

If it doesn’t meet your requirement, could you please provide a mockup sample based on fake data or describe the fields of each tables and the relations between tables simply?

It will be helpful if you can show us the exact expected result based on the tables.

 

Please upload your files to OneDrive For Business and share the link here. Please don't contain any Confidential Information or Real data in your reply.

 

Best regards,

 

Community Support Team _ zhenbw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-zhenbw-msft
Community Support
Community Support

Hi @lavdeepk ,

 

If you want to create a calculate column to replace the measure, maybe you can try the formula like this,

 

Column = CALCULATE(SUM('Table'[value]),FILTER('Table','Table'[Group]=EARLIER('Table'[Group])))

 

If it doesn’t meet your requirement, could you please provide a mockup sample based on fake data or describe the fields of each tables and the relations between tables simply?

It will be helpful if you can show us the exact expected result based on the tables.

 

Please upload your files to OneDrive For Business and share the link here. Please don't contain any Confidential Information or Real data in your reply.

 

Best regards,

 

Community Support Team _ zhenbw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors