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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
snandy2011
Helper IV
Helper IV

How to eliminate value if two pages are similar

Hi, all,

I am in a simple problem but can not find the solution. I have data sets like,

 

Previous Page              Page              Views

abc                               bcd                15

cde                               abc                 25

efg                                bcd                30

abc                               abc                50

def                               cde                  10

 

I want to create a DAX  that, if previous page and page are same, then views will not be shown. otherwise it will show. That means, in above datasets, only one row will be eliminated, otherwise it will remain same.

 

I have tried to achieve by different formula, but could not achieve.

 

Can you guys help me for that?

 

Thanks,

snandy2011

 

Please help me to solve this problem.

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

Why not just a new column like:

 

IF([Previous Page] = [Page],BLANK(),[Views])


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

Why not just a new column like:

 

IF([Previous Page] = [Page],BLANK(),[Views])


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Sometimes, we forget to do some simple things. I tried your formula by DAX, but did not come into my mind that i could have created a column by same formula.Shame!!

 

Thanks a lot sir, for helping me.

 

Thanks,

snandy2011

Happy to help!


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors