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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Hell-1931
Helper II
Helper II

Filtering out negative values

Hello,

In my SSAS tabular model I have the following measures, (which then used in Power BI Report):

% of Budget Used:=1.0 - DIVIDE(([Total Budget] - [Total Amount]), [Total Budget], BLANK())

   % of Budget Used - consists from the followings:

           Total Budget:=CALCULATE( SUM( 'GL Transactions'[Budget Amount] ), 'Calendar FY'[Date] )

           Total Amount:= SUM( 'GL Transactions'[Amount])

After exporting these in Power BI Model, my report has the following result:

Capture.JPG

 

Are there ways to filter out the negative(s) values (marked in red)? My goal is to have blank, when it's negative...

I thought of using IsInScope function, but it isn't available in my current SSAS tabuler

May be I need to use IsFiltered instead? How exactly?

 

Thanks for help!

1 REPLY 1
ChiaraB
Frequent Visitor

Hi,

 

you could use conditional formatting on color of that field and set that if the value is negative then color is white!

 

Chiara

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors