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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
vixignus
Regular Visitor

Dynamic ranking based on columns (dimensions)

Hi everyone,

 

I am trying to get the top advertisements or placements from digital marketing data based on different metrics like clicks, impressions, CTR(click through rate), etc. Below is the data I have:

 

AdvertisementPlacementClicksImpressionsCTR
Ad 1Pl 1100200000.50%
Ad 1Pl 2200222220.90%
Ad 1Pl 3150187500.80%
Ad 2Pl 47557691.30%
Ad 2Pl 56050001.20%
Ad 2Pl 65550001.10%

 

There are 2 slicers - one to select (Advertisement or Placement) and other to select (Clicks, Impressions or CTR). Based what is selected in the 2 slicers, I would like to see the ranked table of values with 2 columns one for dimension selected (Ad or placement) other for metrics selected (Clicks, Impressions or CTR). I have seen other examples for ranking in the forum, but none of them seem to address this particular problem.

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@vixignus ,

 

You may try Unpivot Columns in Query Editor first.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-chuncz-msft  Yes, That is the first step. However, I am unable to figure what should I be doing next. Could you please help?

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.