Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi Guys,
I have a list of two columns.
| SKU | Category |
| Fruit | Apple |
| Fruit | Pineapple |
| Fruit | Strawberry |
| Vegetable | Carrot |
| Vegetable | Brinjal |
| Vegetable | Cauliflower |
I'm trying this:
- User Filters the SKU
- The sheet detects the parent category and lists out all the SKUs in that category
Example, if a user selects Apple, the sheet should list out:
| Item | KPI 1 | KPI 2 |
| Strawberry | Value | Value |
| Pineapple | Value | Value |
| Apple | Value | Value |
Looking for some guidance.
Thanks in advance!
Piyush
Solved! Go to Solution.
Hi @PiyushBQ
According to your requirement, I suggest you add a measure to determine whether your selected category belongs to Fruit or Vegetable, and then use this measure to filter the table visual:
measure =
VAR CA = VALUES(slicer[Category])
VAR SKU = CALCULATETABLE( VALUES('Table'[SKU]), FILTER(ALL('Table'),'Table'[Category] in CA))
RETURN
IF(MAX('Table'[SKU]) in SKU,1,0)
Please refer to the pbix file: https://qiuyunus-my.sharepoint.com/:u:/g/personal/pbipro_qiuyunus_onmicrosoft_com/EVWD8lv5c09HvhlF_u...
Best Regards,
Dedmon Dai
Hi,
Your explanation is completely out of sync. First you mention that the user selects a SKU and then you say "Example, if a user selects Apple"!!!!!!!
Hi @PiyushBQ
According to your requirement, I suggest you add a measure to determine whether your selected category belongs to Fruit or Vegetable, and then use this measure to filter the table visual:
measure =
VAR CA = VALUES(slicer[Category])
VAR SKU = CALCULATETABLE( VALUES('Table'[SKU]), FILTER(ALL('Table'),'Table'[Category] in CA))
RETURN
IF(MAX('Table'[SKU]) in SKU,1,0)
Please refer to the pbix file: https://qiuyunus-my.sharepoint.com/:u:/g/personal/pbipro_qiuyunus_onmicrosoft_com/EVWD8lv5c09HvhlF_u...
Best Regards,
Dedmon Dai
Check out the April 2026 Power BI update to learn about new features.
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.
| User | Count |
|---|---|
| 43 | |
| 38 | |
| 34 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 66 | |
| 65 | |
| 30 | |
| 26 | |
| 25 |