cancel
Showing results for
Did you mean:

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Frequent Visitor

## Remove conditional formatting for top row

Hi,

I would like to remove conditional formatting for the top row. I am checking whether the current month is higher or lower than the previous month. I managed to remove it for Total but was not able to remove it for the first row.

Appreciate it if somebody helps me here.

BTW this is dummy data.

4 REPLIES 4
Frequent Visitor

% Change =

Var PM = CALCULATE('Monthly Summary'[Total Revenue],DATEADD('Calendar'[Date],-1,MONTH))

Var TR = 'Monthly Summary'[Total Revenue] Var Diff = TR - PM

Var isfilter = ISFILTERED('Calendar'[MonthYear])

Var isblankPM = ISBLANK(PM)

Return

if(isblankPM <> Blank(),Blank(), if(TR=Blank(),Blank(),if(isfilter, DIVIDE(Diff,TR,""))))

Frequent Visitor

Hi Power BI Community,

Please let me know if anybody knows the solution to this problem. Thanks in advance.

Regards

Amol

Super User

@amol0512 , Make sure in your formula, when previous month is blank change % id blank

example

if(isblank[Last month]), Blank(), divide([This month] -[Last month], [Last Month]) )

Frequent Visitor

Hi @amitchandak
I have below measure

% Change =

Var PM = CALCULATE('Monthly Summary'[Total Revenue],DATEADD('Calendar'[Date],-1,MONTH))

Var TR = 'Monthly Summary'[Total Revenue] Var Diff = TR - PM

Var isfilter = ISFILTERED('Calendar'[MonthYear])

Var isblankPM = ISBLANK(PM)

Return

if(isblankPM <> Blank(),Blank(), if(TR=Blank(),Blank(),if(isfilter, DIVIDE(Diff,TR,""))))

Announcements

#### Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

#### Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

#### The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors