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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
PowerBIAccount
New Member

Compare STRING Values over X Time

Hello Everyone,

 

Sorry, I am kind of new to POWER BI and have a challenge where I failed so far finding a solution.

Basically I need to compare String values, in order to see if the users have touched their mails or not over the past x years.

 

I assume I’ll have to work with a measure, but both ROW and FILTER weren’t that helpful so far.

 

My data looks like:

 

Year

User12345

User987465

User54451

2017

Sent

Bounced

Clicked

2018

Opened

Sent

Clicked

2019

Clicked

Sent

Sent

2020

Sent

Sent

Sent

 

 

Has anyone another approach on how to filter all the users who never had “Opened” or “Clicked” in the past x years?

 

Sorry, if this is the incorrect place for this question. Perhaps I am overthinking this as well, and the solution is very easy.

 

Thanks for your help!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@PowerBIAccount , first un pivot this data

https://radacad.com/pivot-and-unpivot-with-power-bi

 

and try measure

if(isblank(countrows(filter(Table, Table[Action] in {"Opened","Clicked"}))),1,blank())

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@PowerBIAccount , first un pivot this data

https://radacad.com/pivot-and-unpivot-with-power-bi

 

and try measure

if(isblank(countrows(filter(Table, Table[Action] in {"Opened","Clicked"}))),1,blank())

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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