This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi team,
I hope you are well.
I was wondering if there is a way to create a user input and then use it in my DAX.
Please see the example below.
In the report page of my PBI, let's say that there is a way for the user to pick "YES", or "NO" under the variable USERINPUT variable.
Then I need the following:
DAX =
IF( USERINPUT = "YES",
........,
........ )
These values are not slicers and can not be used as slicers.
Please let me know your thoughts.
Thanks,
CK
Solved! Go to Solution.
@CK1992 , You can create an independent table with values Yes and No and use that to measure
if(selectedvalue(Table[Column]), "Yes", [Measure], blank())
@CK1992 , You can create an independent table with values Yes and No and use that to measure
if(selectedvalue(Table[Column]), "Yes", [Measure], blank())
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 29 | |
| 22 | |
| 22 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 64 | |
| 41 | |
| 24 | |
| 22 | |
| 22 |