Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello Power BI Team,
I need to develop a visualization for which I am having trouble getting my mind around the best way to do the math.
I host a Vimeo OTT site, and I have a table of all our customer_id’s which includes three columns showing how many days ago (from today) they last signed in, and a second column that shows 0-30 days, 30-60 days, etc.. Up into INACTIVE which means we have no sign-in data for that customer. Then there is a third column where I categorize the customer_id as either “ACTIVE” or “INACTIVE”. Note the data for these are pulled from a merged table with platform login information (ie—what date they last signed-in).
I use this for a donut chart showing what % of total registrants are INACTIVE vs ACTIVE. NOTE: don’t ask why we have so many INACTIVE—it is a long story.
What I want to do is make this into a stacked area chart over dates (I have a date table) showing each day’s % of ACTIVE vs %INACTIVE users so that we can show over time how the % is changing. The area chart should add up to 100% and continue to adapt as we add more registrants and track their sign-in information.
I can’t figure out how to do this. I am guessing I need yet another table showing each date, with calculated columns for %ACTIVE and %INACTIVE but no idea the DAX or M involved.
Any suggestions?
Thanks,
I 'sort of' figured it out using my running total and an inactive/active legend but I still don't know how to turn it into %. I'd prefer to use % of total rather than just raw numbers. Any ideas?
Hello @rsderby68,
Maybe if you try the following measure:
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
10 | |
6 |