Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
78 | |
77 | |
59 | |
36 | |
33 |
User | Count |
---|---|
100 | |
62 | |
56 | |
47 | |
41 |