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.
Hi guys,
I'm trying to apply financial ratio measure that takes a general ledger account divided by Total Revenue number
The measure that you see below it shows Total Revenue by company, company being PnLSynopsisAllData[BusinessUnit] = 17000
However I want the company to be dynamic not static, I'm currently entering company number in my filter.
EVALUATE ADDCOLUMNS(PnLSynopsisAllData ,"Actual Total Revenue Per Company",SUMX(Filter(PnLSynopsisAllData,PnLSynopsisAllData[RowIndex]=22 && PnLSynopsisAllData[BusinessUnit] = 17000),PnLSynopsisAllData[Actual]) ) Order By PnLSynopsisAllData[BusinessUnit],PnLSynopsisAllData[RowIndex]
Could you please assist?
Thank you
John
Hi @johnghannam,
You can try to use measure to get selected value from slicer, then use these value to calculate.
For example:
Seleceted Value= If(HasOneValue(Table[Column]),Values(Table[Column]),Blank)
>>However I want the company to be dynamic not static, I'm currently entering company number in my filter.
Currently, power bi only support dynamic measure based on slicer, you can't create a dynamic table/calculate column based on slicer or filter.
Regards,
Xiaoxin Sheng
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCovering 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 |
---|---|
110 | |
99 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
110 | |
91 | |
84 | |
66 |