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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.