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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
netanel
Post Prodigy
Post Prodigy

Connecting formulas

Hi All!

 

I need help connecting the next two formulas to one formula

 

Daily AVG for InApp =
CALCULATE([Net USD average per Day], 'Revenues DB'[GL] IN { "InApp" })
 
Daily AVG for RV =
CALCULATE([Net USD average per Day], 'Revenues DB'[GL] IN { "RV" })
 
Thanks for the helpers!







Did I answer your question?
Mark my post as a solution!
Appreciate your Kudos!

Connect on Linkedin
linkedin.com/in/netanel-shriki
2 ACCEPTED SOLUTIONS

HI @netanel ,

 

I don't have anything to test the formula, so just wrote it based on my best judgement looking at your description.

What error the formula is displaying?

I am assuming you are creating a measure.

Add more details as I can't help you to troubleshoot this way.

 

See if this works:

Net USD average per Day for InApp or RV =
CALCULATE(
         [Net USD average per Day), 
         'Revenues DB'[GL] = "InApp" || 'Revenues DB'[GL] = "RV"
         )

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

@netanel 
Remove ")" before the comma 🙂

 

 

 

CALCULATE(
         [Net USD average per Day], 
         'Revenues DB'[GL] = "InApp" || 'Revenues DB'[GL] = "RV"
         )

 

 

 

 


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com

View solution in original post

11 REPLIES 11
Pragati11
Super User
Super User

Hi @netanel ,

 

Can you please accept the right solution to the thread?

I guess the solution was provided by me, just that it had a typo because you didn't share much info at your end.

I understand that @DimaMD, suggested the typo correction, which I would have never done because the person who provides the solution on the thread first should take care of any such issues. Ideally I should have responded with the correction here but saw that it was always answered (which didn't seem to be right :))

As a best practice on the forum, I always avoid jumping in a thread where someone on the forum is always engaged and trying to answer. If the thread is non-responsive for more than a day, then I try to jump in and help with the query. 🙂

But please do accept the right solution to the thread, so atleast who has spent time in creating solution for your query gets the credit. 🙂

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

mh2587
Super User
Super User

Daily AVG  =
CALCULATE([Net USD average per Day]'Revenues DB'[GL] IN { "InApp", "RV" })
Try this hope it works

Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



DimaMD
Solution Sage
Solution Sage

Hi @netanel 
Try it
Create a tablet:
Table

InApp
RV

Creates a measure

 

1:
Values = SELECTEDVALUE('Table'[Values])
-------------------------------------- 
2:
Measure =
VAR _fil = [Values]
return
SWITCH(
TRUE(),
_fil = "InApp", [Daily AVG for InApp],
_fil = "RV", [Daily AVG for RV]
)

 





__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com

Hi @DimaMD 

 

I can not create such a side table

I have  a large database








Did I answer your question?
Mark my post as a solution!
Appreciate your Kudos!

Connect on Linkedin
linkedin.com/in/netanel-shriki
Pragati11
Super User
Super User

HI @netanel ,

 

Not sure what do you mean by connecting two formulae?

A little more detail would help here 🙂

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Hi @Pragati11 

 

I'm trying to get them on the card
But it should contain both RV and InApp
I tried the following formula and it did not work

 

Net USD average per Day for InApp or RV =
CALCULATE(
    [Net USD average per Day],
    'Revenues DB'[GL] IN { "InApp", "RV" }
)

 








Did I answer your question?
Mark my post as a solution!
Appreciate your Kudos!

Connect on Linkedin
linkedin.com/in/netanel-shriki

HI @netanel ,

 

You can write a measure as follows:

Net USD average per Day for InApp or RV =
CALCULATE(
         [Net USD average per Day), 
         FILTER(
                'Revenues DB', 'Revenues DB'[GL] = "InApp" || 'Revenues DB'[GL] = "RV"
               )
         )

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Hi @Pragati11 

 

netanel_0-1639392942414.png

The formula does not work








Did I answer your question?
Mark my post as a solution!
Appreciate your Kudos!

Connect on Linkedin
linkedin.com/in/netanel-shriki

HI @netanel ,

 

I don't have anything to test the formula, so just wrote it based on my best judgement looking at your description.

What error the formula is displaying?

I am assuming you are creating a measure.

Add more details as I can't help you to troubleshoot this way.

 

See if this works:

Net USD average per Day for InApp or RV =
CALCULATE(
         [Net USD average per Day), 
         'Revenues DB'[GL] = "InApp" || 'Revenues DB'[GL] = "RV"
         )

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Hi @Pragati11 

 Thanks for your time

I tried to change the formula based on what you wrote and I do not get the desired result

 

This is what you wrote

netanel_0-1639397459818.png

 








Did I answer your question?
Mark my post as a solution!
Appreciate your Kudos!

Connect on Linkedin
linkedin.com/in/netanel-shriki

@netanel 
Remove ")" before the comma 🙂

 

 

 

CALCULATE(
         [Net USD average per Day], 
         'Revenues DB'[GL] = "InApp" || 'Revenues DB'[GL] = "RV"
         )

 

 

 

 


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.