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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
afrutos
Resolver I
Resolver I

Target visual

Hello everyone, I would like to know how I can get the following.
On my target visual, I would like it to count me how many idobra there are based on the filter of the measure "Filter ob".
Filter ob shows me: Work Complete, Work Incomplete, D Incomplete, PL Incomplete.

So I would like the card to be able to count how many different IdObras there are for PL Incomplete.

 

And I can't use Filtro Ob in the Filters panel because it's a measure.

afrutos_0-1645707181471.png



Thank you!

1 ACCEPTED SOLUTION
PVO3
Impactful Individual
Impactful Individual

Don't share the original file. Just create an example file with the same problem. Then upload it to some upload site and share the url with the community.

View solution in original post

11 REPLIES 11
PVO3
Impactful Individual
Impactful Individual

It's hard to tell with only this information. An example file would help.

At least show the measure [Filtro Ob].

I know, for me it's not posible to share the file.
this is Filtro Ob: 

Filtro Ob = SWITCH(TRUE(),
[ComprobacioD]= "Completada" && [Comprobacio PL] = "Completada", "Obra Completa",
[ComprobacioD]="Completada" && [Comprobacio PL]= "Incompleta", "PL Incompleta",
[ComprobacioD]="Incompleta" && [Comprobacio PL]= "Completada", "D Incompleta",
[ComprobacioD]="Incompleta" && [Comprobacio PL]="Incompleta", "Obra Incompleta")
 
PVO3
Impactful Individual
Impactful Individual

So there also is the measure [ComprobacioD] involved.

 

My first guess you have to do a COUNTX over a virtual table (SUMMARIZE/SUMMARIZECOLUMNS/CALCULATETABLE).

 

Something like

COUNTX( 'table', [Filtro Ob] = "PL Incompleta")

Okey I want to send you  the file, how could I do this?

PVO3
Impactful Individual
Impactful Individual

Don't share the original file. Just create an example file with the same problem. Then upload it to some upload site and share the url with the community.

PVO3
Impactful Individual
Impactful Individual

I think you're trying to share the report from within Power BI Service. I meant you should create a PBIX file and upload it to a site like easyupload.io or something like that.

Okey, sorry, try with this!
https://easyupload.io/avk1ji

PVO3
Impactful Individual
Impactful Individual

Your upload has a password...

I try to explai better myself;
Filtro ob tell me if my play is completed or not, and it's on a measure table.
And I have my table AUT Agrupada, which contains idobra, it's and unic id for each play.
Both tables are NOT conected.

And I need to count how many idobras there are that are PL Incomplete 

@afrutos ,

Try creating a calculated column instead of calculated measure. You should be able to pull columm into filters.

Also, if you want distinct IDs, then you should use DISTINCTCOUNT instead of COUNT in your measure.

PBI_SuperUser_Rank@1x.png  

Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!!

Proud To Be a Super User !!!
LinkedIn

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.