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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

Combining two measures into one

Hi,

 

Is it possible to combine these two measure into 1? They are working. 

 

Measure 1 to calculate the value for the next day
com_test =
VAR PriorDay = SELECTEDVALUE(table1[date])+1

RETURN
CALCULATE(
( SUM(table1[gb_total_supply])),
ALL ( table1[date]),
table1[date] = PriorDay
)

Measure 2 to calculate the diffrence between the next day and today
com_test minus measure1 =
[com_test] - SUM(table1[gb_total_supply])

1 REPLY 1
Anonymous
Not applicable

Use earlier function in your filter section to compare overall row.

 

But i am not what is your requirement.

Can you share sample data and expected output?

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.