Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Dear community,
I'm relative new to Power Bi, but experienced with Excel.
I'm trying to get my head around the filter function in combination with calculate. I have the following expression:
Check this article on filter arguments. Hope it will help
https://www.sqlbi.com/articles/filter-arguments-in-calculate/
When you write a boolean expression
|
1
2
3
4
|
CALCULATE ( <expression>, table[column] = <value> ) |
In reality the filter expression you wrote is transformed into
|
1
2
3
4
5
6
7
|
CALCULATE ( <expression>, FILTER ( ALL ( table[column] ), table[column] = <value> )) |
It is a very interesting link and I've added it to my favorites, but it seems it is not an answer to my question.
I do see I've forgotten on the critical line to type the filter expression. I've updated my original post with the correct line, sorry for the inconvenience. Below the line I've updated
'case history'[CreatedDate] < [Old Pending] filter ( 'case history' , 'case history'[CreatedDate] < 'case history'[Old Pending] )
I want to assign [Old Pending] as the value in the record that has to be matched in column [CreatedDate]. Thus as a solution, I've now thrown [CreatedDate] in a seperate table with unique values. However, this is not ideal.
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 43 | |
| 39 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 63 | |
| 32 | |
| 30 | |
| 23 |