Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
In the example below, how would I add a step to go through the "condition" column and expand Tables? I would want Row 9 to expand into two rows, where one has [condition] as "Cardiovascular Diseases" and one as "Coronary Disease". Then I should have a total of 10 Rows.
Solved! Go to Solution.
@calculateadvers
One quick way to do it is to duplicate your query, filter the condition column to Table and click onthe column header to expand into two rows.
Filter out the rows with Table in the original query and append with the duplicated query.
________________________
If my answer was helpful, please click Accept it as the solution to help other members find it useful
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@calculateadvers , you might want to uncheck all those undesired options in the dropdown list
or use M code to sort out more specifically options you need.
let
Source = #table({"id","options"},{{"id1",1},{"id2",#table({"col"},{{"x"}})},{"id3",{100,2}},{"id4","zyx"},{"id5",{}}}),
#"Filtered Rows" = Table.SelectRows(Source, each Value.Is([options], List.Type) and [id]="id5")
in
#"Filtered Rows"
| Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
@calculateadvers
One quick way to do it is to duplicate your query, filter the condition column to Table and click onthe column header to expand into two rows.
Filter out the rows with Table in the original query and append with the duplicated query.
________________________
If my answer was helpful, please click Accept it as the solution to help other members find it useful
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Thanks @Fowmy .
I considered that as an option, but I ran into a roadblock trying to figure out how to filter a column to show only Table or non-Table.
In the Power Query Interface for the filter dropdown, Table does not appear as one of the options for filtering. Only the text in rows that are not Table display.
How do I filter only to show rows where [condition] is Table ?
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.