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
PaulBrunclair
New Member

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.

PaulBrunclair_1-1718732540615.png

Can someone help me out?

Thanks

Paul

3 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

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-...

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/1447...

View solution in original post

v-linyulu-msft
Community Support
Community Support

Thanks for the reply from@lbendlin,, 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:

vlinyulumsft_0-1719390900437.png

vlinyulumsft_1-1719390909036.png

2.Next create relationships between tables:

vlinyulumsft_2-1719390932826.png

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.

vlinyulumsft_3-1719390965729.png

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.

 

 

 

 

View solution in original post

PaulBrunclair
New Member

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

View solution in original post

3 REPLIES 3
PaulBrunclair
New Member

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

v-linyulu-msft
Community Support
Community Support

Thanks for the reply from@lbendlin,, 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:

vlinyulumsft_0-1719390900437.png

vlinyulumsft_1-1719390909036.png

2.Next create relationships between tables:

vlinyulumsft_2-1719390932826.png

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.

vlinyulumsft_3-1719390965729.png

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.

 

 

 

 

lbendlin
Super User
Super User

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-...

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/1447...

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.