Forum Discussion
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
- amitchandakSuper 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]) )
- amol0512Helper I
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,""))))
- amol0512Helper I
Hi, Already have it.
% 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,""))))
- amol0512Helper I
Hi Power BI Community,
Please let me know if anybody knows the solution to this problem. Thanks in advance.
Regards
Amol