I am trying to get the % of members for each flag from the total number of members. I have a measure # of members which is a Distinct count of membid. When I display the Flag with # members it shows the members for each flag and then using the same # memebrs in a separate visual I show the total number of memebrs for the moth. I am tryng to calculate the % of the memebrs for each flag out of the months total members. I have tried a few things but I am pretty new at this. I am stuck. Any help would be awesome, thank you!
Something like that, where [Measure] is your existing measure and Table would be the table that your measure deals with. The ALL removes all filter context and thus would grab all of the members regardless of Flag.
Thank you, I tried that and it didn't work. I need to keep the flags filter on it so I even tried removing the ALL but I end up with 100% for each column. Here is a picture of what I am trying to calculate. The number of memebrs from the flags divided by the # members. I just cant seem to make it work.
I kind of see how this makes sense but Im not seeing where you are taking the filter of the Flag into play in the member flag count. It looks like you are just counting the # members. How can I count the number of members for a flag?
Can't do much without sample data but your formula does not look right at all. CALCULATE takes 2 parameters, what you want to calculate and then a filter. I don't see a comma in your formula so I have to believe that you are getting an error. Besides that, if that is a measure, you're going to need an aggregation like SUM or COUNT. See the measure formulas that I sent.