The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Can I use the Selected value from the Slicer in the Advanced Editor/Power Query Editor?
Solved! Go to Solution.
@v-danhe-msft : For closing this ticket, I will mark this as solution, but as of now this feature is not yet available in Power BI.
Thanks
-J
Hi @Anonymous,
could you please tell me if your problem has been solved? If it is, could you please mark the helpful replies as Answered?
Regards,
Daniel He
Thanks, @v-danhe-msft, I knew about the parameter, but i wanted to try this with measure.
@v-danhe-msft : For closing this ticket, I will mark this as solution, but as of now this feature is not yet available in Power BI.
Thanks
-J
Hi @Anonymous,
Based on my research, we can't use the selected value from slicer in Query Editor. I suggest you can use parameter and refer to below steps.
1.I have entered some sample data like the picture below.
2.Right click the column you want to select and click the “Add as New Query” function.
3.Creta a new parameter like the below picture.
Now you can select the filtered value.
You can also download the PBIX file to have a view.
https://www.dropbox.com/s/8mmh4nbtc69px2e/Use%20MEASURE%20IN%20Advance%20Query%20Editor.pbix?dl=0
Regards,
Daniel He
User | Count |
---|---|
65 | |
62 | |
60 | |
53 | |
28 |
User | Count |
---|---|
181 | |
82 | |
67 | |
47 | |
44 |