The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
I have below measure that use SUMMARIZE to create a virtual table that has filter context dynamically change based on the visual context (for example, different quarters on a line charts). The measure works beautifully when I want to show the result by quarters
However, I want to be able to add up the result of the Delta $ amount from each quarter in the virtual table, but the above code will only give me the weighted average of all quarters. Thus I create below code with SUMMARIZECOLUMNS that allow me to bring in columns from different tables, hoping that the external filter context of the quarters (PeriodName) can dynamically filter the virtual table
But it seem that the measure do not work at all and return below error. How can I fix this?
Any solution worked out for you?
Do the above replies help? if you need more help make me @
Appreciate your Kudos.
Hi Amitchandak,
Unfortunately I cannot combine Summarize and SUMMARIZECOLUMNS. It seem that SUMMARIZECOLUMNS does not support dynamic filter context like SUMMARIZE does?
You need to replace SUMMARIZECOLUMNS with SUMMARIZE, not use them together. The error you are seeing is common with SUMMARIZECOLUMNS. With SUMMARIZE, you will need to add the name of the table you are summarizing to your measure.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
@duybachhpvn , Can use summarize on top of summarizecolumns and try
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
21 | |
19 | |
18 | |
18 | |
14 |
User | Count |
---|---|
38 | |
35 | |
21 | |
20 | |
17 |