Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Yqy
Helper I
Helper I

Remove Specific rows in Query

Hi, i have a table that look like the first one below and i would like to keep all rows with the number "1" and also keep the single entry for "C" the number "0" which look like the second table, the table below is only part of the full table, there are hunreds of different varables like "C", with only one entry and all single entry has number "0", so does anyone know how to solve this? Thanks

 

A1
A0
B0
B1
C0
D0
D1

 

A1
B1
C0
D1
1 ACCEPTED SOLUTION

okay, I understand you, watch another new video and if the link does not work, try watching a little later

https://1drv.ms/v/s!AiUZ0Ws7G26RiEhJ-H5yK5xREaCt?e=4au6IC
Sample PBIX file attached
https://1drv.ms/u/s!AiUZ0Ws7G26RiEczX_BjGlZZsYMm?e=09gu9i

View solution in original post

3 REPLIES 3
Ahmedx
Super User
Super User

pls see my video

(x)=> x[flag] = 1 or x[cat] ="C"

https://1drv.ms/v/s!AiUZ0Ws7G26RiEXNoZ4WsV-RyyHM?e=eHBHbm

It seems like the site is down, I can't open the link. And also, my variables does not only have one "C" it might be hundreds of different variables with only one single entry and all single entry has a number "0"

okay, I understand you, watch another new video and if the link does not work, try watching a little later

https://1drv.ms/v/s!AiUZ0Ws7G26RiEhJ-H5yK5xREaCt?e=4au6IC
Sample PBIX file attached
https://1drv.ms/u/s!AiUZ0Ws7G26RiEczX_BjGlZZsYMm?e=09gu9i

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors