Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am converting the tableau calculated field to power BI.
Need to create a paramter like this in power BI
Then using that parameter to create a calculated field in power BI
IF [Last X Days] = 'Last 2 Days'
THEN [Date] >= TODAY() - 2
AND [Date]<= [End Date]
ELSEIF [Last X Days] = 'Last 4 Days'
THEN [Date]>=TODAY() - 4
AND [ Date]<= [End Date]
ELSEIF [Last X Days] = 'Last 7 Days'
THEN [ Date]>=TODAY() - 7
AND [ Date]<= [End Date]
ELSEIF [Last X Days] = 'Last 30 Days'
THEN [Date]>=TODAY() - 30
AND [ Date]<= [End Date]
END
Help in this is neede and urgent.
Thanks in advance
@asdf1608 , In power bi we create an independent table and use those values to create a measure
example
https://medium.com/chandakamit/power-bi-when-i-felt-lazy-and-i-needed-too-many-measures-ed8de20d9f79
Measure Slicer: https://www.youtube.com/watch?v=JLkKTJrdv04&list=PLPaNVDMhUXGYzjFASXjdY7GNoFxvlkR54&index=19
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
9 | |
7 | |
6 | |
6 |
User | Count |
---|---|
28 | |
11 | |
11 | |
10 | |
6 |