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
If i have two fields : X and Y. Both integer.
I can filter one of them with the filter option. But what if would like to filter on this : WHERE X > Y
how can i do this? I would like to do this in M. And without creating a new column with the difference between X and Y, and filter on this.
Thanks in advanced.
When you say 2 fields, do you mean 2 columns? If you want to do this in Power Query (M as you say), then you will need a new column. But it doesn't have to be the difference between the 2 columns. Just add a new column something like this.
if [X] > [Y] then 1 else 0
then just filter when this column equals 1.
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 |
|---|---|
| 46 | |
| 43 | |
| 39 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 68 | |
| 68 | |
| 31 | |
| 27 | |
| 24 |