Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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 !
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
82 | |
81 | |
52 | |
39 | |
35 |
User | Count |
---|---|
95 | |
79 | |
52 | |
49 | |
47 |