Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Get % Value on a Specific Data Date.

Hello Everyone

 

I am quite new in Power BI & got into a situation where I need help from the community...

Here is the situation;

I need to calculate the %age on the basis of the Data Date filter (I cannot use the sliding slicer due to design restrictions).

Col: Sum of BL Project Total Cost... I need its SUM in all situations only but I need Col: BL Cost Curve to change as per the selected Data Date.

 

For example:

If I select Data Date July 3 2020 then I'll get the value that is = 2,707,726.08/51,848,107 = 5.22%.

(BL S Curve is just a running total BL Project Cost.)

Attached is the snip for this.

 

Regards

Yamin

BL Curve.JPG

2 REPLIES 2
tamerj1
Super User
Super User

Hi @Anonymous 

please try

% BL Cost Curve =
Divide ( 

[BL Cost Curve],
CALCULATE ( [Sum of BL Project Total Cost], ALL ( 'Date' ) ) 

)

BrianConnelly
Resolver III
Resolver III

What is your BL Curve measure?  The Table names?

 

What you want to do, is create a measure using a Summarized function to summarize the BL Curve grouped by Dates.  Then filter the summarized table to the selected date or default it to the latest date.

 

 

Sample:

 

% of BL S Curve = 
VAR tableVariableResult = MAXX(FILTER(SUMMARIZE(ALL(<table>),<GroupByDate>,"Name Given",[BL S Curve]),<datefield>=<GroupByDate>)),"Name Given")

RETURN DIVIDE([BL S Curve],tableVariableResult)

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.