March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Solved! Go to Solution.
Hi,
You may download my PBI file from here.
Hope this helps.
Hi @cborde3 ,
You can update the formula of measure as below to get the culmulative values, please find the details in the attachment.. If you want to get the value for the specific year, you can add the condition: YEAR(_seldate)=2022 to get it.
Sample 2022 Cumulative Errors =
VAR _seldate =
SELECTEDVALUE ( 'Calendar'[Date] )
RETURN
CALCULATE (
SUM ( Sheet1[Distinct] ),
FILTER ( ALLSELECTED ( Sheet1 ), 'Sheet1'[Date] <= _seldate )
)
Best Regards
Thank you all for your support!
Hi,
You may download my PBI file from here.
Hope this helps.
Hi,
Share the download link of the PBI file.
Hi @cborde3 ,
Please update the formula of measure [2022 Cumulative Errors] as below and check if it can return the expected result...
2022 Cumulative Errors =
VAR _seldate =
SELECTEDVALUE ( 'Calendar'[Date] )
RETURN
CALCULATE (
SUM ( 'PA Switching Errors'[Distinct] ),
FILTER (
ALLSELECTED ( 'PA Switching Errors' ),
'PA Switching Errors'[Year] = "2022"
&& 'PA Switching Errors'[Incident Date] <= _seldate
)
)
If the above one can't help you, please provide some raw data in your table (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:
How to provide sample data in the Power BI Forum
How to Get Your Question Answered Quickly
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Hello,
I've copied a sample file to drop box. The link is below.
https://www.dropbox.com/s/h5p40g7upwqoi4b/Sample%20Sheet%20%281%29.pbix?dl=0
Hi @cborde3 ,
You can update the formula of measure as below to get the culmulative values, please find the details in the attachment.. If you want to get the value for the specific year, you can add the condition: YEAR(_seldate)=2022 to get it.
Sample 2022 Cumulative Errors =
VAR _seldate =
SELECTEDVALUE ( 'Calendar'[Date] )
RETURN
CALCULATE (
SUM ( Sheet1[Distinct] ),
FILTER ( ALLSELECTED ( Sheet1 ), 'Sheet1'[Date] <= _seldate )
)
Best Regards
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
125 | |
85 | |
69 | |
54 | |
45 |
User | Count |
---|---|
204 | |
105 | |
99 | |
64 | |
54 |