Forum Discussion
gtamir
2 years agoPost Patron
Build a table and filter it
Hi, I have the folloing DAX function to build a table:
RunningTotalByCreditCard = SUMMARIZECOLUMNS(creditcard[id_card], "TOTAL" , SUM(creditcard[sum]))
I'd like to add a filter so the table will show only records that have 3 in [Month] column, in Creditcard table
Thanks
gtamir
To create a table in the model, use the following:SUMMARIZE( FILTER( creditcard , creditcard[Month] = 3 ), creditcard[id_card], "TOTAL" , SUM(creditcard[sum]) )