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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

PowerBI parameters like in tableau

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?

 
 
1 ACCEPTED 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".

Ritaf1983_0-1719284726086.png

and then you will get a slicer according to these modifications

You can use a slicer / enter the wanted value to test 

Ritaf1983_1-1719284801680.png

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

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

6 REPLIES 6
Kishore_KVN
Super User
Super User

Hello @Anonymous , 

This concept is already available called as numeric range in parameters. Please look at below youtube video for reference:

Power BI- How to create custom numeric range Slicer Using Parameter | Increase in Percentage - YouTube

 

If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!

Anonymous
Not applicable

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?

 
Ritaf1983
Super User
Super User

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
Anonymous
Not applicable

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".

Ritaf1983_0-1719284726086.png

and then you will get a slicer according to these modifications

You can use a slicer / enter the wanted value to test 

Ritaf1983_1-1719284801680.png

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

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
rajendraongole1
Super User
Super User

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!!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.