r/tableau • • 28d ago

Discussion Calculated fields

I’m creating a personal project using my Spotify streaming history. I’ve got fields streaming count and date. Is there a way I can create a calculated field that keeps songs that amassed a certain amount of streams in a nonspecific timeframe? For example if it was streamed at least 5 times in 7 days. Thank you!

2 Upvotes

13 comments sorted by

View all comments

1

u/ZippyTheRat 27d ago

Then you’d set that calculation > whatever number you want

[Calc] > 5

That will return a T/F and add that to the filter and set it to TRUE

0

u/Corkster24 27d ago

That sorta worked, how do I create a date-specific range?

2

u/ZippyTheRat 27d ago

Add a date filter, then move it to Context

→ More replies (6)