Jaspal1996
New Member
- Joined
- Jan 22, 2022
- Messages
- 1
- Office Version
- 365
- 2021
- Platform
- Windows
Hi,
A question for Power BI users.
Have tried searching for this question, but no luck; and I hope I can explain it properly.
I have data that contains a parent code, and a city, with Yes and No answers.
However, these measures only works to what is displayed in the table visualisation, when I remove city, the measure output changes, i.e. I need the city in the table to display the correct measures. Ideally, I need to only group these by parent code, such as below. I have the table on the left
Hopefully I explained correctly and there is a simple solution! Thanks
A question for Power BI users.
Have tried searching for this question, but no luck; and I hope I can explain it properly.
I have data that contains a parent code, and a city, with Yes and No answers.
- I have created one measure that gives the % of Yes to No.
- I have created another measure that counts all cities that has a percentage above or equal x%, and another that counts all cities under y%.
However, these measures only works to what is displayed in the table visualisation, when I remove city, the measure output changes, i.e. I need the city in the table to display the correct measures. Ideally, I need to only group these by parent code, such as below. I have the table on the left
- Measure 1 gives the % of all Yes over total (Yes + No)
- Measure 2 indicates 1 when above >=98% and 0 when below
Hopefully I explained correctly and there is a simple solution! Thanks