The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
We wanted to get the table in power BI Dashboard by calculating formulas like minus, percentage, ratio etc.
Table format
Total Debtors 100
Overdue 20
Not overdue 80 (100-20)
Sales 20
Debtor Turnover ratio 20 (20/100*100)
So it is required all formulas come in power bi dashboard as the same is not in the backend data.
Please resolve at the earliest
Solved! Go to Solution.
Hi @Tanmay20 ,
Based on your description, there are two 20s in your data and it is impossible to determine which one was used for the final result. You can use selectedvalue to select the data in the table. Here is a simple example
Create mesures
Not overdue = SELECTEDVALUE('Table'[Total Debtors]) - SELECTEDVALUE('Table'[Overdue])
Debtor Turnover ratio = SELECTEDVALUE('Table'[Overdue])/SELECTEDVALUE('Table'[Total Debtors])*SELECTEDVALUE('Table'[Total Debtors])
Final output
Best regards,
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi,
Write these measures
TD = sum(Debtors[Value])
OD = sum(overdue[Value])
S = sum(Sales[Value])
Debtor turnover = divide([S],[TD])*[OD]
Hope this helps.
Hi @Tanmay20 ,
Based on your description, there are two 20s in your data and it is impossible to determine which one was used for the final result. You can use selectedvalue to select the data in the table. Here is a simple example
Create mesures
Not overdue = SELECTEDVALUE('Table'[Total Debtors]) - SELECTEDVALUE('Table'[Overdue])
Debtor Turnover ratio = SELECTEDVALUE('Table'[Overdue])/SELECTEDVALUE('Table'[Total Debtors])*SELECTEDVALUE('Table'[Total Debtors])
Final output
Best regards,
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
112 | |
79 | |
78 | |
44 | |
38 |
User | Count |
---|---|
157 | |
113 | |
64 | |
60 | |
55 |