Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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 @pong
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 @pong ,
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 @pong
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 @pong
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 @pong - 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! | |
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
124 | |
111 | |
73 | |
65 | |
46 |