Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
70 | |
66 | |
50 | |
31 |
User | Count |
---|---|
116 | |
99 | |
75 | |
65 | |
40 |