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.
In Tableau, I would often use a parameter to do the following:
I have columns for [Age] and [$owed]
What I want to do is to create a parameter that has an integer value for days (7, 14, 30).
Then I will create a column that would go:
If [Age] <= [parameter]
THEN [$ owed]
ELSE "-"
END
This would allow me to create a table to show all invoices that are aged to the parameter selected. If I selected 7 on parameter, then the table would show all invoices between now and 7 days and so forth.
How can I do this with powerbi?
Solved! Go to Solution.
Hi @Anonymous
There is no option just to put a number, you should define the range of the list and the size of the "increment".
and then you will get a slicer according to these modifications
You can use a slicer / enter the wanted value to test
The pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hello @Anonymous ,
This concept is already available called as numeric range in parameters. Please look at below youtube video for reference:
If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!
Hello, this solution almost gets me what I need. In the solution, they are using increment values. I'm looking to do the same thing but with discrete values. For example, I want to use a what-if parameter while using a slicer to select 7, 14, 30, and 90 days. Would this be possible?
Hi @Anonymous
It sounds like what-if parametrs, please refer to the linked tutorial:
https://www.youtube.com/watch?v=28PDdA3SROU
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Yes, what-if parameters is what I'm trying to use. My main problem is using it with discrete values or values I can input myself. For example, I want to use numbers for 7, 14, 30, and 90. How can I achieve this?
Hi @Anonymous
There is no option just to put a number, you should define the range of the list and the size of the "increment".
and then you will get a slicer according to these modifications
You can use a slicer / enter the wanted value to test
The pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hi @Anonymous - can you please refer the below youtube link:
Tableau vs. Power BI: Using Parameters and DAX for Data Analysis and Visualization (youtube.com)
resolved reference link:
Solved: How to replicate Parameters (tableau) in Power BI? - Microsoft Fabric Community
Hope it helps.
Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
Proud to be a Super User! | |
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
71 | |
70 | |
38 | |
27 | |
26 |
User | Count |
---|---|
97 | |
96 | |
59 | |
44 | |
40 |