Forum Discussion
Need help with DAX please!!
- 1
- 2
- 3
- Success
- Partial Success
- Disappointment
- A - Con
- B - Acc
- C - CC
- D - CL
Hello there Anonymous ! If I understood your question correctly I think you dont need the 'Measures of Success'[Area] = "A - Con" condition in your calculate formula since PBI will do it when you add the measure to the table/matrix visual. Try adding this measure to your table/matrix visual:
Impt1S = CALCULATE ( COUNTROWS ( 'Measures of Success' ), 'Measures of Success'[Importance Text] = "1", 'Measures of Success'[Results] = "Success" )Hope this answer solves your problem! If you need any additional help please @ me in your reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️ or give it a kudoe 👍
Thanks!
You can also check out my LinkedIn!
Best regards,
Gonçalo Geraldes
7 Replies
- parry2k
Super User
Anonymous how your raw data look like? Can you post it in a table format with the expected output? Not sure that blue image is how your raw data table looks like.
- AnonymousNot applicable
- goncalogeraldes
Super User
Hello there Anonymous could you please share how are you currently calculating your fields? A sample measure would be enough just to know where the values are!
For additional help, please @ me in your reply!
You can also check out my LinkedIn!
Best regards,
Gonçalo Geraldes- AnonymousNot applicable
Thank you SO much! I am including the measures I used for the calculations. I am new to Power BI so I hope it makes sense. Thanks!
First measure to get number of items with an Importance of "1" for Area "A - Con"
Impt1A =
CALCULATE (
COUNTROWS ( 'Measures of Success' ),
'Measures of Success'[Importance Text] = "1",
'Measures of Success'[Area] = "A - Con"
)Second measure - using first measure - to calculate the number of items with Result of "Success"
Impt1AS =
CALCULATE (
[Impt1A],
'Measures of Success'[Results] = "Success"
)- goncalogeraldes
Super User
Hello there Anonymous ! If I understood your question correctly I think you dont need the 'Measures of Success'[Area] = "A - Con" condition in your calculate formula since PBI will do it when you add the measure to the table/matrix visual. Try adding this measure to your table/matrix visual:
Impt1S = CALCULATE ( COUNTROWS ( 'Measures of Success' ), 'Measures of Success'[Importance Text] = "1", 'Measures of Success'[Results] = "Success" )Hope this answer solves your problem! If you need any additional help please @ me in your reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️ or give it a kudoe 👍
Thanks!
You can also check out my LinkedIn!
Best regards,
Gonçalo Geraldes