March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello,
I have read so many blog/ forum posts on this but I can't for the life of me get this working, so I really appreciate any help.
I am creating a Paginated Report, which is linked to a Power BI Dataset that has two tables which are linked together.
I want cascading parameters, and this works if I add the parameters by right clicking the Parameters folder and selecting Add Parameter, then getting Available Values from a Query pointing to the relevant table . Done this way, the selection I make in my first parameter limits the options available in the second (yay) EXCEPT that the values in the parameter drop down are not DISTINCT, so I literally have the same option appearing 20+ times:
If I add the parameter when creating my datasets (by dragging a field into the Parameters section in the Query Designer) then I get DISTINCT values, but the first parameter no longer filters the second.
To try and resolve this I have created separate tables that have DISTINCT values using a Query like the below:
DEFINE
VAR DistinctValuesTable =
SUMMARIZE (
FILTER (
'EntityGroup',
EntityGroup[Organisation] = SELECTEDVALUE(@EntityGroupOrganisation)
),
'IndicatorHandbook'[Corporate Plan / Annual Report]
)
EVALUATE
DistinctValuesTable
Then I set the Available Values for the parameter to this table, which does remove duplicates but the issue remains that the options in subsequent parameters are not affected by earlier selections.
Any help would be greatly appreciated. I can't figure out why this would be so difficult, surely no-one wants the parameter options to work this way by default?!
Not sure if this is the answer you are looking for, but I solved this issue I was facing by adding the field to the dimension area inside the query designer. At the end there is an option to add to the parameters. This added it to my parameters and created unique values from that field.
I'm looking for the same use-case, did you figure out a solution ?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |
User | Count |
---|---|
4 | |
4 | |
4 | |
3 | |
3 |