Power BI Interview | Scenario to calculate DYNAMICALLY TOP 'N' values

  Рет қаралды 31,082

LearnWidGiggs

LearnWidGiggs

Күн бұрын

Пікірлер: 89
@rajatdixit11
@rajatdixit11 2 жыл бұрын
This question was asked to me recently in Power BI interview in 2 of the Big 4 firms recently!! 😊
@bidhanry9740
@bidhanry9740 Жыл бұрын
hi rajatdixit11, if you don't mind could you please give me all the question you have faced in power bi interview?
@sivakrishna_preneur
@sivakrishna_preneur 10 ай бұрын
How sashank was created buttons which are top 2 , top 3 and top 5?
@mahendrapal3413
@mahendrapal3413 10 ай бұрын
@@sivakrishna_preneur I am also think that slicer which he is using top 2 top 3 top 5 is alrady availble in table or created
@sivakrishna_preneur
@sivakrishna_preneur 10 ай бұрын
@@mahendrapal3413 go through buttons and selection concepts
@dhrutijoshi3701
@dhrutijoshi3701 Жыл бұрын
Take a bow , I was searching for this for one challenge but at that time I couldn't do it. Finally got this now ...keep sharing such videos
@learnwidgiggs
@learnwidgiggs Жыл бұрын
Thanks 😊
@vikassolanki297
@vikassolanki297 Жыл бұрын
Rnk2 = var a1= If(HASONEVALUE(Orders[Product Name]),RANKX(All(Orders[Product Name]),[Total Sales],,DESC,Dense)) var a2 = If(a1
@learnwidgiggs
@learnwidgiggs Жыл бұрын
Great 👍
@ramshataqdees5570
@ramshataqdees5570 Жыл бұрын
please explain
@zuebansari6799
@zuebansari6799 4 күн бұрын
I have a question how to cretae relationship between this slicer and table, i am unable to do this, Please answer
@learnwidgiggs
@learnwidgiggs 4 күн бұрын
Not required.
@rajatdixit11
@rajatdixit11 2 жыл бұрын
Great content! As always.. Thanks a lot for your efforts 😊
@learnwidgiggs
@learnwidgiggs 2 жыл бұрын
My pleasure!
@laxmankumar3388
@laxmankumar3388 Жыл бұрын
it has a context transition error. when we select top 2 on slicer. Total should be change but it's showing overall sale.
@subbaraoballipale890
@subbaraoballipale890 11 ай бұрын
u can use filter fun directly right for top 3 5 6 & relatable fun
@shruti7463
@shruti7463 5 ай бұрын
Hi shashank, video is quite good and helpful , if possible please make video on how to adjust this measure to get the correct total when top 3, 2 is selected. Thanks
@learnwidgiggs
@learnwidgiggs 5 ай бұрын
@@shruti7463 Video is already published on ..Correcting the wrong totals. Plz check that out.
@shruti7463
@shruti7463 5 ай бұрын
@@learnwidgiggs Hi, I have seen that video, is it possible to make video on this scenario also to correct the total, as I have tried implementing the wrong total video in this scenario, but total is not coming correct. Thanks.
@rajunalgunta6106
@rajunalgunta6106 2 жыл бұрын
@LearnWidGiggs is most valuable asset for students
@learnwidgiggs
@learnwidgiggs 2 жыл бұрын
Glad to hear this 😊
@monishpilla4137
@monishpilla4137 2 жыл бұрын
Thank you for the video what if the client wants top 2,l least 3, least 6, in the slicer.
@learnwidgiggs
@learnwidgiggs 2 жыл бұрын
We have to modify the measure accordingly.
@Regans5677
@Regans5677 Жыл бұрын
hai while using this dax syntax is running correct but not showing data under the coloums ,just colomn names only, showing,can you plz correct this
@saikumarp-s2t
@saikumarp-s2t 3 ай бұрын
You were displaying product wise but want along with total seperate. Does it work because for me total are coming as table level and not as top n level
@kanchans3556
@kanchans3556 4 ай бұрын
Please also tell how to dynamically change the column header (Top N Values)
@suruvumohan583
@suruvumohan583 2 жыл бұрын
Hello, another way is there. Thanks for your great videos and information
@learnwidgiggs
@learnwidgiggs 2 жыл бұрын
You are welcome!
@varunas9784
@varunas9784 4 ай бұрын
Hi Shashank, good videos as always.. Is there a way to make the total displayed also sum accordingly to the selection made.. It seemed like the total here was always the same regardless of you selecting Top 2 or Top3 etc. Thanks in advance!
@Sumitunstoppable
@Sumitunstoppable Күн бұрын
Where can I get this sample file for practice
@bindooo
@bindooo 2 жыл бұрын
bro can you make a video on power bi with SQL server as a data source, like how to import and details that are being asked in the interview. this is widely asked in interviews nowadays.
@learnwidgiggs
@learnwidgiggs 2 жыл бұрын
Noted.
@vikassinghjayara510
@vikassinghjayara510 2 жыл бұрын
I have learned a lot from you and adding a new skills everyday. This series is very good. Lot's of love from Delhi 😍 Sir, I am practicing all the videos of this series and preparing myself for PowerBi job interview. Can you please share more interview questions on other parts of PowerBi like Power View, Model, Power Query etc.
@learnwidgiggs
@learnwidgiggs 2 жыл бұрын
plz watch the first 8 videos of this playlist : kzbin.info/aero/PLk-s1KYuT-Pk2a1mbFe-nH7BNVdQjsWVU
@vikassinghjayara510
@vikassinghjayara510 2 жыл бұрын
@@learnwidgiggs Thank you so much Sir. 😍 Will you upload more questions on that playlist? Or those questions are enough?
@learnwidgiggs
@learnwidgiggs 2 жыл бұрын
Currently you will find more videos on scenario based questions which are frequently asked.
@vikassinghjayara510
@vikassinghjayara510 2 жыл бұрын
@@learnwidgiggs Thank you Sir for your valuable efforts. Nowadays, I am in a difficult time, therefore, asking that questions. I appreciate your work and the time which you are giving us.
@learnwidgiggs
@learnwidgiggs 2 жыл бұрын
No worries
@abhinavjha3840
@abhinavjha3840 9 ай бұрын
how did you created that buttons for top 2 , top 3 and top 5
@learnwidgiggs
@learnwidgiggs 9 ай бұрын
You can create a table in and enter those values manually
@naveenshindhe2893
@naveenshindhe2893 Ай бұрын
@@learnwidgiggs how to get that button in that page, can you please reply
@sureshboddana33
@sureshboddana33 2 жыл бұрын
hi bro how u link siler and topn values dax function relation. Could you please tell me . i cant get when i am trying
@learnwidgiggs
@learnwidgiggs 2 жыл бұрын
Can you tell me what part of the video you didn't understand
@sureshboddana33
@sureshboddana33 2 жыл бұрын
@@learnwidgiggs i got bro . I have one scenario which is asked by PWC interview. I am unable to crack . could you please help me. If provide your email address. I will explain to you
@mindofmagnet3373
@mindofmagnet3373 14 күн бұрын
Thanks a lot
@KiranKumar-rd1is
@KiranKumar-rd1is 2 жыл бұрын
Bro, Thanks for the video. Could you please share the Pbix file or data to practice.
@SonuSonu-uh2er
@SonuSonu-uh2er 2 жыл бұрын
Can u prepare video on what are the steps followed by the Power BI developer while building a report like SDLC in software making.
@learnwidgiggs
@learnwidgiggs 2 жыл бұрын
okay, will plan.
@nareshtekchandani2188
@nareshtekchandani2188 Жыл бұрын
Hi Shashank, Keep up the good work 👌👌 also, I want to understand while selecting the top 2 and top 3 and top 5 the total sales remained the same the total was showing for all the sales. can you help me with that?
@learnwidgiggs
@learnwidgiggs Жыл бұрын
If total is not working fine then measure has to be readjusted ..to make measure work for total also correct
@rojalibiswal8975
@rojalibiswal8975 Жыл бұрын
could u provide data set
@ranjith1083
@ranjith1083 Жыл бұрын
please guide me, my rank list should be applied only for column values and not for total...so how this can be achieved
@ashokreddy3300
@ashokreddy3300 Жыл бұрын
Use rankx function
@lakshminarayana3168
@lakshminarayana3168 Жыл бұрын
How to share interview questions which i faced recently
@learnwidgiggs
@learnwidgiggs Жыл бұрын
You can DM me on LinkedIn or you can send a mail..mail id there in the About section of the channel
@JayeshTatipamul
@JayeshTatipamul Жыл бұрын
Helpful Video.
@learnwidgiggs
@learnwidgiggs Жыл бұрын
Glad it was helpful!
@anasahmad5415
@anasahmad5415 2 жыл бұрын
do you teach live classes ? if yes then would ike to take classes
@learnwidgiggs
@learnwidgiggs 2 жыл бұрын
Don't take any Live classes as of now.
@ashwinikhobragade7583
@ashwinikhobragade7583 5 ай бұрын
This is real project scenario
@learnwidgiggs
@learnwidgiggs 5 ай бұрын
Yess
@vinodshinde8468
@vinodshinde8468 2 жыл бұрын
Sir without using rankx also we achieve dynamic topn right sir please correct if I m wrong
@learnwidgiggs
@learnwidgiggs 2 жыл бұрын
Umm...you may also make use TOPN function in some way...you do it in some other way if possible and let me know and our audience plz.
@tejaschaudhari9781
@tejaschaudhari9781 Жыл бұрын
This scenerio based question is for experienced one candidate or also for a Fresher candidate ....please reply sir!
@learnwidgiggs
@learnwidgiggs Жыл бұрын
Mostly experienced
@ramshataqdees5570
@ramshataqdees5570 Жыл бұрын
will question like these be asked to less than 2 year of experience
@learnwidgiggs
@learnwidgiggs Жыл бұрын
>=2 yrs
@debapriyasaha5547
@debapriyasaha5547 Жыл бұрын
Hi Shashank sir. Please start power bi live classes it will be helpful to many aspirant
@learnwidgiggs
@learnwidgiggs Жыл бұрын
Will try, thank you for suggesting
@swapnilgupta2496
@swapnilgupta2496 8 ай бұрын
Well explained bro but you are making it more complex instead we can add the calculate column in both the tables create the relation ship and then write a simple measure, it should not be that complex and it is not good to write these many dax
@sureshsonti8097
@sureshsonti8097 2 жыл бұрын
Hello Sir, I have question regarding the Total. If the Top 2 is selected, I get the B and D but the total is still 4445. How can I get the Total 2240. Thanks
@learnwidgiggs
@learnwidgiggs 2 жыл бұрын
Usually we don't show the totals but if you have to show then Dax code has to be modified and will upload a separate video on this.
@ankushjain4128
@ankushjain4128 2 жыл бұрын
You are doing fabulous job ,your question collection is really good can relate in real powerbi interview questions .Please keep it up Here i think instead of using switch we can easily achieve same result in one line of code if([ranking]
@learnwidgiggs
@learnwidgiggs 2 жыл бұрын
Thanks for the solution,, hope it works.
@reddyjogireddy6425
@reddyjogireddy6425 2 жыл бұрын
Sir , what you wrote in top n values
@learnwidgiggs
@learnwidgiggs 2 жыл бұрын
At what point of time in the video?
@ashokreddy3300
@ashokreddy3300 Жыл бұрын
Give me your contact,bro so together we can prepare
@nishantpurohit100
@nishantpurohit100 Жыл бұрын
But the total is not changing, it should change as well, anyways nice video, appreciate your efforts.
@learnwidgiggs
@learnwidgiggs Жыл бұрын
Thank you.
@kalyanibagal1849
@kalyanibagal1849 2 жыл бұрын
name city sales A 1 12 B 2 16 C 3 18 D 4 19 E 5 81 Suppose I have these 3 columns....and I want to add one column...and the condition is 12/(12+16+18+19+81).....like this ....how can we write dax for this
@kalyanibagal1849
@kalyanibagal1849 2 жыл бұрын
Each time we have to divide sales by sum of all sales
@learnwidgiggs
@learnwidgiggs 2 жыл бұрын
Try this : Measure = Divide(tablename[sales], Sum(tablename[sales]))
@kalyanibagal1849
@kalyanibagal1849 2 жыл бұрын
@@learnwidgiggs I want to add column
@reddyjogireddy6425
@reddyjogireddy6425 2 жыл бұрын
Give the rank on the basis of sales
@reddyjogireddy6425
@reddyjogireddy6425 2 жыл бұрын
Then add by rank wise
@venusagarla4052
@venusagarla4052 2 жыл бұрын
Helo sir, Pls provide pbix file aslo to practice around.
@provider65
@provider65 Жыл бұрын
Share your contact bro, together we prepare
@hairavyadav6579
@hairavyadav6579 4 ай бұрын
Top N values = var select_top = SELECTEDVALUE('Table'[Top]) var top_customer = SWITCH(select_top, "Top 1" ,IF([Ranking]
Accenture- 9 Interview Questions you must know | Power BI 😲
17:23
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
Visualization based Interview Question | Power BI | Must Watch
14:19
Row context in DAX explained visually
21:45
SQLBI
Рет қаралды 20 М.
Case Study on "Common Customers" | Power BI Interview | Must Watch
12:19
Power BI Dataflows Interview Questions - Answered!
23:15
Satyajit Pattnaik
Рет қаралды 7 М.
Context transition in DAX explained visually
27:14
SQLBI
Рет қаралды 15 М.
All vs Allselected vs Allexcept DAX | Power BI Interview
12:25
LearnWidGiggs
Рет қаралды 28 М.
TCS Power BI Interview Questions and Answers | MUST Watch 😲
13:19
Super 30 DAX Interview Question & Answer - POWER BI🔥
29:49
MilEstOne CrEaTor
Рет қаралды 63 М.
My 3 SECRETS for Power BI Parameters You MUST TRY!
25:58
How to Power BI
Рет қаралды 53 М.