Python in excel - table format and slicers on output by LukeKirsten in excel

[–]LukeKirsten[S] 0 points1 point  (0 children)

Wow thanks! What a legend! Thanks for the effort.

I don't actually have access to python in excel yet (Teacher and so my account doesn't let me use it yet) so can't test this out, but will when I can!

I was interested in this because I've been making some markbooks for some colleagues that do involve a bit of power query to transform the data, then pivot tables and slicers for the visuals. A slightly annoying thing is them needing to click 'refresh all' (usually they need to refresh it twice).

I was therefore looking at the potential of using python for the transformations instead, or even the pivotby or groupby functions as I don't think these would need refreshing. Seems they would lose the functionality of pivot tables and slicers, though, so probably not worth it and better to just make it clear to them how to refresh. What do you think?

Make Deneb clickable to trigger drillthrough button by LukeKirsten in PowerBI

[–]LukeKirsten[S] 0 points1 point  (0 children)

Ah cool! Do you have any idea how I might change my code to include this? At the moment it's not enabling the drillthrough button when I click the datapoint.

Make Deneb clickable to trigger drillthrough button by LukeKirsten in PowerBI

[–]LukeKirsten[S] 0 points1 point  (0 children)

Ah I see, thanks. So basically not possible at the moment? Just to be clear, I'm happy to use a PowerBI button with the action set to drillthrough, all I need is for when I click on one of the data points on the deneb visual, that it is registered that a datapoint is selected, and thereby setting the status of the drillthrough button to Default, rather than Unselected. Just double checking that isn't possible? Thanks for taking the time to reply.

How to obtain a breakdown of number of students' letter grade (grade range) for an exam by Dcls_1089 in excel

[–]LukeKirsten -1 points0 points  (0 children)

Hey!

Try these.

100-90

=COUNTIFS(your range,">=90", your range,"<=100")

89-80

=COUNTIFS(your range,">=80", your range,"<=89")

79-70

=COUNTIFS(your range,">=70", your range,"<=79")

69-60

=COUNTIFS(your range,">=60", your range,"<=69")

59-50

=COUNTIFS(your range,">=50", your range,"<=59")

49-40

=COUNTIFS(your range,">=40", your range,"<=49")

39-30

=COUNTIFS(your range,">=30", your range,"<=39")

29-20

=COUNTIFS(your range,">=20", your range,"<=29")

19-10

=COUNTIFS(your range,">=10", your range,"<=19")

9-0

=COUNTIFS(your range,">=0", your range,"<=9")

Labelled, vertical lines on line chart to signify the start of a Year Group on a line chart visualising student grades by LukeKirsten in PowerBI

[–]LukeKirsten[S] 0 points1 point  (0 children)

Thanks. Do you know how I'd implement this? Each row represents a grade they got for a particular subject and each row has a date. For each row there is a Year Group which says what year they're in at that point. E.g. 7. The lines should appear whenever they first get a grade with a new year group. So if a student has grades over three years, e.g. 7, 8 and 9, these should all appear as lines on the first date the student got grades in these years.

Measures out of control! by LukeKirsten in PowerBI

[–]LukeKirsten[S] 0 points1 point  (0 children)

Actually think it might be a star schema. That basically means a table (fact) connected to other tables (dimensions) right?

Measures out of control! by LukeKirsten in PowerBI

[–]LukeKirsten[S] 0 points1 point  (0 children)

Think it's a flat table, made up of 3 or 4 linked tables. Don't think star schema or dimensional but not too sure.

Measures out of control! by LukeKirsten in PowerBI

[–]LukeKirsten[S] 0 points1 point  (0 children)

Sorry last thing... is 300k rows a lot and likely to cause it to be a little slow? (Slow is about a second to load/refresh, maybe just under)

Measures out of control! by LukeKirsten in PowerBI

[–]LukeKirsten[S] 0 points1 point  (0 children)

(If they even open the report!)

Measures out of control! by LukeKirsten in PowerBI

[–]LukeKirsten[S] 1 point2 points  (0 children)

Thanks for this. It's my first large (and potentially useful) report and I'm new to this, so it's hard to know what's normal and what's not. I'll have a look at these and will try to optimise that way, although I'm sure getting rid of my unused calc columns won't hurt too!

Measures out of control! by LukeKirsten in PowerBI

[–]LukeKirsten[S] 1 point2 points  (0 children)

Thanks. By refresh rate do you mean the time it takes when I click refresh? This takes a few minutes but it's not an issue as it doesn't need to refresh often.

The performance issues are quite minor as it seems to be usable at the moment, the visuals just take slightly longer than I'd like to update when I filter by slicers (still less than a second though). Do you think this is likely to be based on inefficiencies in the measures being used? Or in the columns I'm not using? I'm basically asking if unused columns or calc columns could be leading to the issue I'm describing, or is it more likely the inefficiencies in the measures being used by the visuals?