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
sarath5140
Helper I
Helper I

Display the data in a new table with Filter condition in Power BI

Hi Folks,

 

Can you help me in getting solution for my below problem.

 

I have a table with the below data 

 

IDTypeReportId
11A123
12A124
13A 
14A 
15B126
16B127
17B2812

 

Now i want my output to have it in new table when Type as "A", i should have values only which are blank of ReportID.

 

My output should be like this

 

IDTypeReportId
13A 
14A 
15B126
16B127
17B2812

 

Thanks

1 ACCEPTED SOLUTION
AlB
Super User
Super User

Hi @sarath5140 

 

Create a new calculated table, where Table1 is the table you show

 

NewTable = FILTER(Table1, NOT (Table1[Type]="A" &&  NOT ISBLANK(Table1[ReportId])))

 

View solution in original post

3 REPLIES 3
AlB
Super User
Super User

Hi @sarath5140 

 

Create a new calculated table, where Table1 is the table you show

 

NewTable = FILTER(Table1, NOT (Table1[Type]="A" &&  NOT ISBLANK(Table1[ReportId])))

 

parry2k
Super User
Super User

@sarath5140 so you want to show all the blanks for "type" selected in slicer and also the remaining types, correcT? In your output, you are showing blank for type "A" and also rows from type "B"



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Hi @parry2k 

 

Yes, Correct. But I want the data to be shown in new table. Like kind of Summarize table.

 

Thanks

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.