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
PaulPalkowski
Helper II
Helper II

Filter this Summary Table

I want the table to be created with Change Counts DAgreater than 4 , can that be done from here?

here is my DAX

 

NotAuditedAssignees =
CALCULATETABLE (
SUMMARIZE (
AllChanges,
'AllChanges'[AssignRenamer],
'AllChanges'[TypeRisk],
'AllChanges'[MAX-AssignAudited],
"Change Count", SUMX ( AllChanges, AllChanges[CounterColumn])+0
 
), 'AllChanges'[TypeRisk] in {"Standard ", "Normal Low"}, AllChanges[MAX-AssignAudited]=0)
"}, AllChanges[MAX-AssignAudited]=0)
1 ACCEPTED SOLUTION

Please share the full sample table - your screenshot is still missing CounterColumn for example - and all DAX for any calculated columns. 

 

You need to count the changes first - is there any date range involved here?


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

View solution in original post

4 REPLIES 4
v-yangliu-msft
Community Support
Community Support

Hi  @PaulPalkowski  ,

According to your description, I create some data:

v-yangliu-msft_0-1617868250963.png

Here are the steps you can follow:

1. Create calculated table.

Table 2 =
var _filter=
FILTER('Table',[TypeRisk] in {"Standard","Normal Low"}&&[MAX-AssignAudited]=0)
var _1=
SUMMARIZE(_filter,[AssignRenamer],[TypeRisk],[MAX-AssignAudited],
"Change Count",COUNT('Table'[CounterColumn]))
return
FILTER(_1,[Change Count]>=4)

2. Result:

v-yangliu-msft_1-1617868250966.png

 

 

Best Regards,

Liu Yang

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

AllisonKennedy
Super User
Super User

What is the end goal? You can either filter in the SUMX or the SUMMARIZE:

 

NotAuditedAssignees =
CALCULATETABLE (
SUMMARIZE (
FILTER(AllChanges, AllChanges[Change Counts DA] > 4 ) ,
'AllChanges'[AssignRenamer],
'AllChanges'[TypeRisk],
'AllChanges'[MAX-AssignAudited],
"Change Count", SUMX ( AllChanges, AllChanges[CounterColumn])+0
 
), 'AllChanges'[TypeRisk] in {"Standard ", "Normal Low"}, AllChanges[MAX-AssignAudited]=0)
"}, AllChanges[MAX-AssignAudited]=0)

Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

There isn't any column that counts changes in the source 'All Changes',  

I want the table to only show me anyone with more than 4 changes, right now I am getting everyoneed.png

 

Please share the full sample table - your screenshot is still missing CounterColumn for example - and all DAX for any calculated columns. 

 

You need to count the changes first - is there any date range involved here?


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

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.