Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
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
Hi All,
I am trying to replicate a DAX expression within Power Query which I can then use to filter the underlying data, however, when trying to replicate it within Power Query I am getting blanks when should be returning values.
Is something very simple I am not doing in Power Query, but any help would be good
DAX Expression
Solved! Go to Solution.
NewStep=let a=Table.Group(YourTable,"Combination",{"min",each List.Min([Index])}) in Table.AddColumn(YourTable,"MinIndex",each a{[Combination=[Combination]]}[min])
NewStep=let a=Table.Group(YourTable,"Combination",{"min",each List.Min([Index])}) in Table.AddColumn(YourTable,"MinIndex",each a{[Combination=[Combination]]}[min])
Hi wdx223_Daniel,
Thanks for the reply, wow that is quite complicated compared to DAX 🙂
I have added the column with your formula but unfortunately still comes back blank. I have included the screenshot below to show it.
So as you can see I have many lines for 2 entities in the Combinations Column, would like it to say 1 as the Min Index
could you please show your hard code?
Hi @villa1980
To resolve the issue, share your implementation of the provided solution by @wdx223_Daniel and make sure that code section includes at least the previous and next step as well
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 |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 6 | |
| 6 | |
| 5 |