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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

DAX measure for Excluding/Filtering Out Some Column String Values

Hi all,

 

I have this bar chart, but I want to be able to filter out some bar because I dont need those information to show, example showing the recently completed project. How do I write a DAX measure to exclude this. Thanks in advance.

 

 

Capture.JPG

3 REPLIES 3
Kriekis
Frequent Visitor

Then Your measure looks like this:
calculate (
   <your calculation>,
   Status <> "03 - Recently Complete"
)

 

or alternatively You can filter out those rows in Power Query.

Kriekis
Frequent Visitor

Hi,

You can <Right click> on a bar and <Exclude>.

It will befiltered out then.

 

/Andris

Anonymous
Not applicable

Hi @Kriekis 

This particular way will not work because it would not provide a permanent solution. That's why I thought a DAX measeure will be the best to create new table or column that will exclude that particular value.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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