We're giving away 30 tickets for FREE! Share your story, your vision, or your hustle and tell us why YOU deserve a ticket.
Apply nowWin a FREE 3 Day Ticket to FabCon Vienna. Apply now
I am relatively new to Power BI. I have a table that brings back the count of the number of controls tested per year based on the years selected in the slicer. I want to create a variance column next to the two years selected that automatically calculates the variance based on the years selected in the slicer.
For instance, for the view listed below, I want to see a variance for each control tested with the total amounting to 167. If I change the years, the variance would change accordingly.
Hi Joe6654,
Create a measure use DAX like below and try again:
Measure =
CALCULATE ( aggregation, ALLSELECTED ( table[Year] ) )
Regards,
Jimmy Tao
Thank you for your response. I tried the fix but it did not work.
Jimmy,
Thanks for your response. When I switch to the table chart I still get an error.
User | Count |
---|---|
62 | |
59 | |
46 | |
35 | |
31 |
User | Count |
---|---|
87 | |
71 | |
57 | |
51 | |
45 |