We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Good afternoon;
Comundidad I have a question about whether I can create a table with an example identifier 1 to 10
I want that when filtering a CPU product by ejem I need it not to start in 9 and 10 if not from 1 and 2 so for the case of monitor that always starts at 1 and that shows that the amount of data I have.
It is possible to do this.
example:
Solved! Go to Solution.
Hi @Syndicate_Admin ,
Base data:
Output result:
Refer the below steps:
create a new column on base table:
Count = COUNTx(FILTER('Table','Table'[Product]=EARLIER('Table'[Product])),'Table'[ID])
Then add a index table:
indextable = DISTINCT('Table'[ID])
Base on this ,create a new table:
Table 2 = DISTINCT(CROSSJOIN(SELECTCOLUMNS('Table',"Product",'Table'[Product],"count",'Table'[Count]),indextable))
Then create a measure ,and use the measure to filter table:
test = IF(MAX('Table 2'[ID])>MAX('Table 2'[count]),BLANK(),1)
Final create visual:
Best Regards
Lucien
Thanks for the information
Hi @Syndicate_Admin ,
Base data:
Output result:
Refer the below steps:
create a new column on base table:
Count = COUNTx(FILTER('Table','Table'[Product]=EARLIER('Table'[Product])),'Table'[ID])
Then add a index table:
indextable = DISTINCT('Table'[ID])
Base on this ,create a new table:
Table 2 = DISTINCT(CROSSJOIN(SELECTCOLUMNS('Table',"Product",'Table'[Product],"count",'Table'[Count]),indextable))
Then create a measure ,and use the measure to filter table:
test = IF(MAX('Table 2'[ID])>MAX('Table 2'[count]),BLANK(),1)
Final create visual:
Best Regards
Lucien
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 38 | |
| 33 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 67 | |
| 62 | |
| 38 | |
| 34 | |
| 22 |