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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
navneet0512
Helper III
Helper III

Order number as per filter selection

I want to know the approch for below problem:-
I want to see the count of version selected in model version in chart for rest order count in model version will  be like "Nav" or any name . Means pie chart selection portion of model vs rest order count present in model version.
navneet0512_0-1702015009251.png

 

1 ACCEPTED SOLUTION

@navneet0512 
If your database is something in the style of :

Ritaf1983_0-1702026233046.png

you can create 2 measures :
1. for counting orders of selected model :

selected_model_count =
DISTINCTCOUNT('Table'[order id])
2. for counting the difference from all the others 
Diff_from_all = CALCULATE(DISTINCTCOUNT('Table'[order id]),all('Table'[model]))-[selected_model_count]
and then put these measures on pie "
Ritaf1983_1-1702026462095.png

PBIX is attached

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

13 REPLIES 13
Ritaf1983
Super User
Super User

Hi @navneet0512 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

In pie chart I want to see the count of order selected in filter (Model version) vs rest entire count of model version. It should change dynamically as filter modern version selection.

I'll be glad to assist, but need data to work with ...

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

@navneet0512 
If your database is something in the style of :

Ritaf1983_0-1702026233046.png

you can create 2 measures :
1. for counting orders of selected model :

selected_model_count =
DISTINCTCOUNT('Table'[order id])
2. for counting the difference from all the others 
Diff_from_all = CALCULATE(DISTINCTCOUNT('Table'[order id]),all('Table'[model]))-[selected_model_count]
and then put these measures on pie "
Ritaf1983_1-1702026462095.png

PBIX is attached

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
Fowmy
Super User
Super User

@navneet0512 
Refer the attached example that I have shared:

Fowmy_0-1702016458871.png

 




Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

I have older version power bi can you please explain here 

@navneet0512 

The file that I shared should work in any version, what's the version of Power BI are you using?


Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

navneet0512_0-1702016959839.png

January(2022)

@navneet0512 

Please the file, I made a change.

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

navneet0512_0-1702017361365.png

Still the same 

@navneet0512 

Download the latest version

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

I can't as my azure power bi services is restricted . 

@navneet0512 

You can download Power BI desktop without any restriction of Azure. Please use below link:

Download Power BI Desktop from Official Microsoft Download Center

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors