Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello Everyone,
I created a table called "Parameters" and a measure in this table called "YearReport".
In DAX I have done a simple formula where : YearReport = 2017
Now I would like to use this to filter my other DAX but Power BI doesn't let me use the filter ... the thing is if I type 2017 in the filter it is working, but not the DAX, here is an example :
CountofContractsCY = calculate(COUNTA(v_e2AllColumns[ContractDetail_NumberUnderContract]),'1_PrincipaleTable2'[Scenarios]=[YearReport],v_e2AllColumns[LotDemographics_IsPhysicalLocationFlag]=True)
Is there anything else I can do to keep that dynamicity ?
Thank you !
Solved! Go to Solution.
Thank you for your reply ! I was continuing in digging and I found out that no relationship existed between my parameters table and the other ones ... Thank you for your help though !
There could be lots going on here. Are you getting an error in your DAX? Are you sure that your YearReport and Scearios are of the same data type? Some sample/mock source data would be helpful. Might also want to investigate VAR perhaps. You might have to use an aggregation function in your formula, like MAX([YearReport]). Tough to say.
Thank you for your reply ! I was continuing in digging and I found out that no relationship existed between my parameters table and the other ones ... Thank you for your help though !
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
97 | |
97 | |
81 | |
77 | |
66 |
User | Count |
---|---|
126 | |
105 | |
103 | |
81 | |
72 |