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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

help on chart web traffic

hi all,

I have a website and it running on a campaign for 1 month..

Is there a way to show during this month, what time is the highest traffic?
Attached is the sample file, is there a better way to show it?

Any advice is greatful. Thank in advance.

2 ACCEPTED SOLUTIONS

Hi @Anonymous ,

Try the following measure:

highest traffic =
CALCULATE (
    MAX ( Sheet1[Hour] ),
    TOPN (
        1,
        ALLSELECTED ( Sheet1[Hour] ),
        CALCULATE ( SUM ( Sheet1[View] ) ), DESC
    )
)

11.PNG

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

View solution in original post

Hi @Anonymous ,

Here are two ways to see if it meets your requirements:
1. Create the following new table and apply for Multi-row card:

Table = TOPN (
        3,
        ALLSELECTED ( Sheet1[Hour] ),
        CALCULATE ( SUM ( Sheet1[View] ) ), DESC
    )

21.PNG
2. Create the following measures and apply for Multi-row card after filtering:

Rank = RANKX(ALL(Sheet1[Hour]),CALCULATE(SUM(Sheet1[View])),,,Dense)

22.PNG

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

View solution in original post

7 REPLIES 7
v-joesh-msft
Solution Sage
Solution Sage

Hi @Anonymous ,

You can try the following method:
1. Create the following measure Rank:

Rank = RANKX(ALL(Sheet1[Hour]),CALCULATE(SUM(Sheet1[View])),,,Dense)

2. Apply Rank to the filter and set the value of Rank equal to 1:

1.PNG

Here is a demo, please try it:

https://qiuyunus-my.sharepoint.com/:u:/g/personal/pbipro_qiuyunus_onmicrosoft_com/EWQduaFvIhZBi7XG_mRR6skBe289p2kQ12t85e6pv-c-Fw?e=WckJRm

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

Anonymous
Not applicable

hihi...is there a way to show as a card visual or chart instead of table?

I tried but doesnt seem working.

Thanks so much

parry2k
Super User
Super User

@Anonymous try this measure

 

Max Hour = 
CALCULATE ( 
    MAX ( Sheet1[Hour] ),
    TOPN ( 1, ALLSELECTED ( Sheet1[Hour], Sheet1[Date] ), CALCULATE ( SUM ( Sheet1[View] ) ), DESC ) 
) 


Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

i tried this method, but not enough memory for my data...any other ways?

Hi @Anonymous ,

Try the following measure:

highest traffic =
CALCULATE (
    MAX ( Sheet1[Hour] ),
    TOPN (
        1,
        ALLSELECTED ( Sheet1[Hour] ),
        CALCULATE ( SUM ( Sheet1[View] ) ), DESC
    )
)

11.PNG

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

Anonymous
Not applicable

It work perfectly.

by the way, For the topN, if i wanted the top 3, possible?

I tried changing the number but it doesn't work.

Thank you

Hi @Anonymous ,

Here are two ways to see if it meets your requirements:
1. Create the following new table and apply for Multi-row card:

Table = TOPN (
        3,
        ALLSELECTED ( Sheet1[Hour] ),
        CALCULATE ( SUM ( Sheet1[View] ) ), DESC
    )

21.PNG
2. Create the following measures and apply for Multi-row card after filtering:

Rank = RANKX(ALL(Sheet1[Hour]),CALCULATE(SUM(Sheet1[View])),,,Dense)

22.PNG

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

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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.

Top Solution Authors
Top Kudoed Authors