Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
119 | |
83 | |
47 | |
42 | |
33 |
User | Count |
---|---|
190 | |
79 | |
72 | |
52 | |
46 |