Forum Discussion

PaulBrunclair's avatar
PaulBrunclair
Frequent Visitor
2 years ago
Solved

stuck measure issue

Hello experts,

 

I'm new in Power Bi and I'am facing an issue.

I created 2 measures based on count function which counts the number of rows.

But I need to get data for a particular time of period using the measures.

Can someone help me out?

Thanks

Paul

  • Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

    Do not include sensitive information or anything not related to the issue or question.

    If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216

    Please show the expected outcome based on the sample data you provided.

    Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

  • Anonymous's avatar
    Anonymous
    2 years ago

    Thanks for the reply fromlbendlin,, please allow me to provide another insight:

    Regarding the issue you raised, my solution is as follows:

    1.First I have created the following table and the column names and data are the data you have given:

    2.Next create relationships between tables:

    3. Below are the measure I've created for your needs:

    Measure = [Number of sales order]-[OTD number]
    

     

    4.Here's my final result, which I hope meets your requirements.

    Can you share sample data and sample output in tabular format if I am misunderstanding? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.

     

    Please find the attached pbix relevant to the case.

     

    Best Regards,

    Leroy Lu

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

     

     

     

  • Hello everyone,

     

    Thank you very much for your feedback on my issue.

    You're right to tacle that, I created a calender table which helped me to fix it out😉

    I'm new in the community and Power Bi, still learning how to proceed.

     

    Thanks a lot

     

    Paul

3 Replies

  • PaulBrunclair's avatar
    PaulBrunclair
    Frequent Visitor

    Hello everyone,

     

    Thank you very much for your feedback on my issue.

    You're right to tacle that, I created a calender table which helped me to fix it out😉

    I'm new in the community and Power Bi, still learning how to proceed.

     

    Thanks a lot

     

    Paul

  • Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

    Do not include sensitive information or anything not related to the issue or question.

    If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216

    Please show the expected outcome based on the sample data you provided.

    Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

  • Anonymous's avatar
    Anonymous
    Not applicable

    Thanks for the reply fromlbendlin,, please allow me to provide another insight:

    Regarding the issue you raised, my solution is as follows:

    1.First I have created the following table and the column names and data are the data you have given:

    2.Next create relationships between tables:

    3. Below are the measure I've created for your needs:

    Measure = [Number of sales order]-[OTD number]
    

     

    4.Here's my final result, which I hope meets your requirements.

    Can you share sample data and sample output in tabular format if I am misunderstanding? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.

     

    Please find the attached pbix relevant to the case.

     

    Best Regards,

    Leroy Lu

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.