The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello, I am trying to capture the running total captured here:
Running_Total_by_AccessAndDate =
VAR CurrentAccessType =
SELECTEDVALUE('PING_USER_SIGNON_NEW (2)'[useraccesstyp])
VAR CurrentMonth =
MAX('Calendar'[YearMonthNumber])
RETURN
CALCULATE(
COUNTROWS('PING_USER_SIGNON_NEW (2)'),
FILTER(
ALL('Calendar'),
'Calendar'[YearMonthNumber] <= CurrentMonth
),
'PING_USER_SIGNON_NEW (2)'[useraccesstyp] = CurrentAccessType
)
However, this is not working properly. As it is not giving me the correct outputs. The outputs are much lower than expected.
I have a date table called Calender than has date, month_year_label (Mar-25), and YearMonthNumber (202501). Then I have my user sign on table. That I am connect to the date table on YearMonthNumber to Yearmonth in the user sign on table that is also number format (202501).
This measure was working when I had no date table being used that was connected to it for reference:
Solved! Go to Solution.
Hi @PowerUser2000 ,
Please share the sample PBIX file, Do not include sensitive information. It will help me to replicate the scenario.
Regards,
Dinesh
Hi @PowerUser2000 ,
Thank you for reaching out to the Microsoft Community Forum.
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.
Regards,
Dinesh
Hi @PowerUser2000 ,
We haven’t heard from you on the last response and was just checking back to see. Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot). Do not include sensitive information. Do not include anything that is unrelated to the issue or question. Please show the expected outcome based on the sample data you provided.
Regards,
Dinesh
Hi @PowerUser2000 ,
We haven’t heard from you on the last response and was just checking back to see. Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot). Do not include sensitive information. Do not include anything that is unrelated to the issue or question. Please show the expected outcome based on the sample data you provided.
Regards,
Dinesh
Hi @PowerUser2000 ,
We haven’t heard from you on the last response and was just checking back to see. Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot). Do not include sensitive information. Do not include anything that is unrelated to the issue or question. Please show the expected outcome based on the sample data you provided.
Regards,
Dinesh
Hi,
I am not sure how your visualization is structured, but I tried to create a sample pbix file like below with using Viusal Calculation feature in Power BI Desktop.
Using visual calculations in Power BI Desktop - Power BI | Microsoft Learn
Please check the below picture and the attached pbix file.
Hello, I am trying to create a bar chart visual like this. However, it is only capturing the running total by each month I think the totals are way too low.
Hi @PowerUser2000 ,
Please share the sample PBIX file, Do not include sensitive information. It will help me to replicate the scenario.
Regards,
Dinesh