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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
pong
Frequent Visitor

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 @pong 
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 @pong , 

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

 

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?

 
Ritaf1983
Super User
Super User

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

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

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

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





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

Proud to be a Super User!





Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors