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
i820017
Resolver II
Resolver II

How to Remove a Column Using DAX

Hey Everybody,

I am looking at removing an entire column from a table in Power BI by using DAX

The column that I am trying to remove is highlighted in yellow below.

i820017_1-1629128329112.png

I know that I can right-click on the column, and exclude the column, but I don't want to do that though (because doing so is not compatible when creating this same Power BI report as a paginated report in the cloud). I want to use DAX to do the same thing. In other words, I want to remove "Channel" = "Agency" and 'type" = "Paperless" by using DAX.

Does anyone know how?

Thanks

Dan 

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@i820017 , Create a measure like

 

calculate(sum(Table[Value]), filter(Table, Table[Channel] = "Agency"  && [type] = "Paperless"))

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@i820017 , Create a measure like

 

calculate(sum(Table[Value]), filter(Table, Table[Channel] = "Agency"  && [type] = "Paperless"))

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.