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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
mdaamirkhan
Post Prodigy
Post Prodigy

How to convert/ write using following measure in Power BI?

How convert/ write and used two measures following below query in my porject and also shared the pbix file; https://drive.google.com/open?id=0BxreilNC4Avsc1BkZWh0bFl5Tzg

 

Sales Force:

  1. Measures used:
  • #Teams (a Designer measure):

Sum(

            (existing [SALES LINE].[SALES LINE ID].[SALES LINE ID])

            ,Iif(IsEmpty([#Days]),null,1)

            )

  • #Reps (native measure)

 

Time in Field %:

  1. Measures used:
  • %Field days (Field/working, a native measure)
  • #Field Days (native measure)
  • #Off Territory working days (a Designer measure):

iif(IsEmpty([Measures].[#Not Field Working days])

,0

,[Measures].[#Not Field Working days]

 

Can anyone help on this its urgnt.

 

Thanks 

Aamir

17 REPLIES 17
v-ljerr-msft
Employee
Employee

Hi @mdaamirkhan,

 

Could you be more precisely with the logic of these measures? Or you can just post some sample data and your expected result? So that we can better assist on this issue. Smiley Happy

 

Regards

The below query  is prepared in other report but I want to prepare this Power BI

Sales Force:

  1. Measures used:
  • #Teams (a Designer measure):

Sum(

            (existing [SALES LINE].[SALES LINE ID].[SALES LINE ID])

            ,Iif(IsEmpty([#Days]),null,1)

            )

  • #Reps (native measure)

 

Time in Field %:

  1. Measures used:
  • %Field days (Field/working, a native measure)
  • #Field Days (native measure)
  • #Off Territory working days (a Designer measure):

iif(IsEmpty([Measures].[#Not Field Working days])

,0

,[Measures].[#Not Field Working days]

 

Result screenshot below: I wan to create this measure in Power Bi and also share my pbix file link in my previous message.

 Capture.PNG

I didn't get the answer yet

Hi @mdaamirkhan,

 

I am willing to help but since i do not understand your Salesforce formula, i cannot understand your requirement.  PLease explain the business problem and also show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

They dont share us the businnes logic with me they said that how to use the following formula in Power BI what will be the DAX of that formula. I have also shared my pbix file in  my previous replies.

Any update

Any update??

Nobody can help you because you can't describe the business logic. We can't write a formula if we don't know how it's supposed to work.





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

Proud to be a Super User!




Just convert the query

How does the query work? What do those formulas do?





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

Proud to be a Super User!




I have already give screenshot and pbix file

What does any of this crap mean? These are not DAX formulas.

 

Formulas.PNG





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

Proud to be a Super User!




If you can't convert it into dax then say it nicely. Mind your language understand you better understand...from next time

You have to tell us how it works so we can write it in DAX. That's what we keep asking you for. Explain how you want these measures to work. What are they supposed to do?





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

Proud to be a Super User!




No need to help on this. 

Any update

mdaamirkhan
Post Prodigy
Post Prodigy

any update??

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.