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.
I am really a beginner with this tool, I am trying to make this calculation with DAX, however it does not show how I would like it.
I know something is wrong, I can not find that
Solved! Go to Solution.
Hi @GKs,
As you have mentioned that you are a beginner I have attached a power bi pbix file which you can download from link below.
https://www.dropbox.com/s/zpfk3yfpdevwbul/SalesPercent.pbix?dl=0
in this file I have tested the following result.
If this helped you, please mark this post as an accepted solution and like to give KUDOS .
Regards,
Affan
Hi @GKs,
As you have mentioned that you are a beginner I have attached a power bi pbix file which you can download from link below.
https://www.dropbox.com/s/zpfk3yfpdevwbul/SalesPercent.pbix?dl=0
in this file I have tested the following result.
If this helped you, please mark this post as an accepted solution and like to give KUDOS .
Regards,
Affan
replicate the same formula and only divide the red / red, the other values are infinity
@Anonymous
Have you tried downloading and checking the sample file I have shared?
if I did, however it remains the same with infinity
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @GKs,
Add the following measure to your data model:
% = var Red_sales = CALCULATE(SUM(Sales[Sales]);Sales[Group] = "Red") Return SUM(Sales[Sales]) / Red_sales
Should give you the expected result
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsUser | Count |
---|---|
65 | |
62 | |
59 | |
53 | |
28 |
User | Count |
---|---|
181 | |
82 | |
67 | |
47 | |
44 |