Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello I have the following problem:
We have embedded different visuals from a PBIX file onto a asp.net core razor view.
We have achieved that when a user clicks on a row in a table visual, detect the item and corssfilter the other embedded visuals as the user clicks.
On the Power BI environment you can do the same, but by pressing the CTRL key, you can select multiple rows and then it will filter the whole visuals on that page.
As we achieved the crossfiltering selecting just one we thought it would do the same by pressing CTRL, the problem is that PowerBI Embedded visual is not detecting the CTRL key and it is not actually detecting that we are selecting more than one row and it changes the whole filters to the first selected row.
We are detecting via JS the CTRL key
After we click in more than one row or item, the event is lost and we can't get the list that the user was selecting:
We have tried the following without results:
a)
1. document.addEventListener('keydown', function(event) {
console.log(event.key);
}, false);
b)
document.addEventListener('keydown', prueba);
function prueba(e) {
console.log(e.KeyCode);
}
c)
$("#Tb3").keypress(function() {
console.log( "Handler for .keypress() called." );
});
d)
e)
$(document).bind("keyup keydown", function(e){
console.log(e);
});
Do you have any suggestion to help us achieve our goal?
Hi @Anonymous
I have tried in the following way, as you propose, but without success
With the dataSelected event I can't get the Ctrl event
Hi @Hugo_Gallardo ,
Please review the following links, hope they can help you.
report: models.IReport
page: models.IPage
visual: models.IVisual
filters: IFilter[]
dataPoints: IIdentityValue[]
Best Regards
I have tried in the following way, as you propose, but without success
With the dataSelected event I can't get the Ctrl event
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
8 | |
3 | |
3 | |
3 | |
3 |