Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hello! I did a formula below in Excel to get a column of data based on the selected value in a Slicer.
For example, if a user select July in the slicer, it returns me the row of column values for July.
How can i perform this in Power BI?
INDEX('Cost Center AOP'!$G:$R,,MATCH($H$2,'Cost Center AOP'!$G$5:$R$5,0))
Cost Center AOP data
May | June | July | August <---Column Name
$0 $1 $2 $3
$1 $2 $2 $2
$3 $3 $3 $3
Solved! Go to Solution.
Hi sh10,
You can't do this directly in power bi because all the filter is based on rows, not columns. As a workaround, you can click-> query editor-> transform-> unpivot columns as below:
After applied&closed, create a slicer visual based on attribute column like below:
Regards,
Jimmy Tao
Hi sh10,
You can't do this directly in power bi because all the filter is based on rows, not columns. As a workaround, you can click-> query editor-> transform-> unpivot columns as below:
After applied&closed, create a slicer visual based on attribute column like below:
Regards,
Jimmy Tao
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 84 | |
| 49 | |
| 38 | |
| 31 | |
| 30 |