Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I have a table with a field length of stay (LOS). I would like to have all patients with a LOS > X put into another table. I believe I would use power query editor for this using the Table.selectedRows, but I don't know where to start.
I would then like to use this table for another form to show data related to the users selected.
Thank you in advance.
Valerie
Solved! Go to Solution.
In DAX you could create a new Table and use this formula:
New Table = FILTER('Old Table', [LOS] > X)
In Power Query, create a new query as a reference of your existing query then just use the GUI to filter to LOS > X
HI @vstopp
You could use this button to go to power query in power bi desktop.
In Updated ribbon, use this button
In old version
https://docs.microsoft.com/en-us/power-bi/desktop-query-overview#power-query-editor
Then in power query, you could use built-in function to get it as below:
of course, you duplicate the basic table and do the filter on that duplicate table.
Regards,
Lin
In DAX you could create a new Table and use this formula:
New Table = FILTER('Old Table', [LOS] > X)
In Power Query, create a new query as a reference of your existing query then just use the GUI to filter to LOS > X
I did create the table (using the new table button). Now how do I add an input box for X and incorporate it into the create table verbage?
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 |
|---|---|
| 55 | |
| 40 | |
| 35 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 71 | |
| 70 | |
| 38 | |
| 35 | |
| 23 |