This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi Team,
I need some help with writing dax formula. PFB details.
My data model is having 3 tables and the data modelling as below . So i would like to take product key, product foreign key into table visual and dispaly the total sum of amount (150) againist each row by using ALL function as below.
So, Two scenarios are same, i would like to alter context by using ALL or ALLSelected, but cross joining is happening.
Please help with this, any help is very much appreciated.
Thanks.
Hi @Vamshi_PBI ,
Please try to use columns.
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Thank you for the support, This solution is working but when i select any of the productkey or foreign key only the sum of that should reflect but it is not right now. for example if i select product 1 and 2, then only 200 should reflect for all rows but it is showing 400 only, the filter is not working. Moreover we have combination of direct query and live model, so calculated columns would result performance issue.
Thanks.
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 |
|---|---|
| 33 | |
| 26 | |
| 23 | |
| 21 | |
| 15 |
| User | Count |
|---|---|
| 63 | |
| 43 | |
| 28 | |
| 24 | |
| 22 |