Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi All,
I'm using Curbal.com's process for exporting data from a report via power automate button and run a query against a dataset while using select operators to pull through filters. The report I'm working on has a lot of filters and some columns will rightly have blanks in some rows. This process works until I come across the below Null value error within the Select Operation step. Hoping someone can help with this problem since I'm so close to making this work.
InvalidTemplate. The execution of template action 'TalentMatrixPlacement' failed: The evaluation of 'query' action 'where' expression '@concat('"', replace(item()?['Talent Matrix Placement'], ', ', '", "'), '"')' failed: 'The template language function 'replace' expects its first parameter 'string' to be a string. The provided value is of type 'Null'. Please see https://aka.ms/logicexpressions#replace for usage details.'.
Simplified version of the DAX Query below as well as the Select Operation and the expression used to dynamically change filter within the DAX Query.
Solved! Go to Solution.
If any of the fields handed over from the Power BI integration are blank then you need to drop the related filtertable from the DAX.
Note that you shouldn't use CALCULATE(SUMMARIZE() - use SUMMARIZECOLUMNS instead. Also don't use the ORDER BY unless you really really need to.
If any of the fields handed over from the Power BI integration are blank then you need to drop the related filtertable from the DAX.
Note that you shouldn't use CALCULATE(SUMMARIZE() - use SUMMARIZECOLUMNS instead. Also don't use the ORDER BY unless you really really need to.
Hi @lbendlin,
Can you explain how you would rewrite the DAX using SUMMARIZECOLUMNS? I've only gotten this far by copying what others have done via YouTube. I need all of the filters to stay dynamic and the way she accomplished that is through the combo of TREATAS and KEEPFILTER within the larger CALCULATETABLE function.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 44 | |
| 38 | |
| 34 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 68 | |
| 65 | |
| 30 | |
| 26 | |
| 25 |