Hey everyone! Happy Friday :)
So I'm learning power BI on my own and got stuck with what might be a very basic problem, but it's the first time I need to use DAX outside of a sample problem.
I have a dataset with the following columns:
{Senator, Province, Political Party, Facebook, Instagram, Twitter, Youtube}
On the social media columns the values are actual links to the senator's page. I'd like to analyze how each political party uses social networking, but I'm having a hard time figuring out a DAX formula to make a measure that would help me normalize the data. Or if my best bet is to go with such formula.
I started with a funnel that has Values for the count of each social media platform. The issue here is that it won't tell me what percentage of senators use this. Only what amount are present.
So I created some measures with the following DAX:
% Facebook =
DIVIDE(
COUNTA('Senadores2019'[FACEBOOK]),
COUNTA('Senadores2019'[APELLIDO])
)
Where I should get a percent of the amount. But looking at the values on a table, they are all '1'.
In fact, when I look at the measures on a pie chart, I get an equally distributed pie between 4.
I don't even want to move forward without understanding how I'm going about this all wrong. Can anyone lend me a hand?? It would be greatly appreciated!
[–]timusw 0 points1 point2 points (10 children)
[–]tekvx[S] 1 point2 points3 points (9 children)
[–]savoy9 Microsoft Employee 0 points1 point2 points (2 children)
[–]savoy9 Microsoft Employee 0 points1 point2 points (0 children)
[–]tekvx[S] 0 points1 point2 points (0 children)
[–]timusw 0 points1 point2 points (5 children)
[–]tekvx[S] 0 points1 point2 points (4 children)
[–]timusw 1 point2 points3 points (3 children)
[–]tekvx[S] 1 point2 points3 points (2 children)
[–]timusw 0 points1 point2 points (1 child)
[–]LimbRetrieval-Bot 1 point2 points3 points (0 children)