Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
Check it out now!Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
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
Solved! Go to Solution.
@gtamir
To create a table in the model, use the following:
SUMMARIZE(
FILTER( creditcard , creditcard[Month] = 3 ),
creditcard[id_card],
"TOTAL" , SUM(creditcard[sum])
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
SUMMARIZECOLUMNS(
creditcard[id_card],
"TOTAL" , SUM(creditcard[sum]),
FILTER( creditcard , creditcard[Month] = 3 )
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Thanks @Fowmy I tryied that but it says:
Function SUMMARIZECOLUMNS expects a column name as argument number 4.
@gtamir
To create a table in the model, use the following:
SUMMARIZE(
FILTER( creditcard , creditcard[Month] = 3 ),
creditcard[id_card],
"TOTAL" , SUM(creditcard[sum])
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Yes it works, thanks.