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.
Hi!
I have a problem with the calculate dax function, and i am pretty sure it is about filering within the formula, but since i am not used to DAX, i can't figure out how to do it right. This is for excel, but the problem is applicable in PBI as well. Wht would be the correct formula to achieve what i need.
i copy paste the presentation i made
thanjks for your help!!
Thanks for your help Chirag.
I have the following error: This formula is invalid or incomplete: 'The column 'TeamsComposition[capa]' either doesn't exist or doesn't have a relationship to any table available in the current context.'.
I think this is because the table TeamsComposition is not directly linked to FactTable (that's why I have to use calculate with the crossfilterfuntion), see the relationship bellow. I am attaching my file as well.
Here is the link to the file
Thanks
In the DAX expression, the expression is written as product of sums instead it should be sum of products.
It should be Calculate(sumX(FactTable,FactTable[Workload]*related(TeamsComposition[capa])),.....) instead of Calculate(sum(FactTable[Workload])*sum(TeamsComposition[capa]), .....).
Only possible if the relationship is one to many.
If the problem continues, pleae share sample data.
User | Count |
---|---|
14 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
28 | |
19 | |
13 | |
8 | |
5 |