Client Round | Scenario based on EARLIER() | Power BI Interview | Must Watch

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

LearnWidGiggs

LearnWidGiggs

Жыл бұрын

Topmate Link to book session 1:1 - topmate.io/learnwidgiggs
Link for the Scenario based QnA in Power BI: • Scenario based QnA - P...
Link for the Power Bi Interview QnA playlist :
• Power BI Interview QnA
Link for the SQL QnA playlist :
• SQL Interview QnA for ...
Link for the Data Warehousing QnA playlist :
• DW Concepts Based QnA
☀ Connect with me Here on Social Media ☀
LinkedIn : / shashank-singh-🇮🇳-ba4b...
Instagram : / shashank_nikumbh26
Your queries:
power bi interview questions
power bi interview questions and answers
power bi interview
power bi interview questions for experienced professionals
power bi interview questions for freshers
deloitte power bi interview questions
power bi scenario based interview questions
power bi service interview questions
scenario based power bi interview questions
power bi practice scenarios
power bi real time scenarios
shashank singh power bi
power bi scenario based questions
sql and power bi interview questions
capgemini power bi interview questions
accenture power bi interview questions
power bi managerial round interview questions
how to explain project in power bi interview
power bi roadmap
power bi jobs for freshers
power bi project explanation in interview
power bi resume for freshers
power bi fresher jobs
power bi resume
power bi developer resume
power bi resume for 2 years experience india
power bi developer resume for experienced
#powerbiinterview
#learnwidgiggs

Пікірлер: 40
@rithwikmr999
@rithwikmr999 Жыл бұрын
index = VAR _currentModel = tableName['Apple Phone'] VAR _modelGroup = FILTER(tableName, tableName['Apple Phone'] = _currentModel) RETURN RANKX(_modelGroup, tableName[Supplier],,ASC) an alternate way to do the same thing.
@learnwidgiggs
@learnwidgiggs Жыл бұрын
Thanks for the alternate way.
@kishorpatil8460
@kishorpatil8460 Жыл бұрын
Nice, Power query also do the same,
@RISHIYADAVMOTIVATION
@RISHIYADAVMOTIVATION Ай бұрын
Measure = CALCULATE(COUNT('Table'[apple]),WINDOW ( 1, ABS, 0, REL,ALLSELECTED('Table'[apple],'Table'[supplier]),ORDERBY('Table'[apple],asc),,PARTITIONBY([apple]) )) an alternate way to do the same thing.
@ravireddy270
@ravireddy270 Жыл бұрын
Your explanation nd ur way of teach is sooo nice
@learnwidgiggs
@learnwidgiggs Жыл бұрын
Thank you 🙂
@tushargogiya4017
@tushargogiya4017 11 ай бұрын
i dont know why but earlier function is not supporting in my desktop app earlier cant able to access row context
@anjaligoorha3180
@anjaligoorha3180 4 ай бұрын
not able understand this earlier function
@susantikamaity2210
@susantikamaity2210 9 ай бұрын
index = ROWNUMBER(ALL('scenario 23'),ORDERBY('scenario 23'[country]),DEFAULT,PARTITIONBY('scenario 23'[phone]))
@sourabhpatel3834
@sourabhpatel3834 6 ай бұрын
Dont use ALL it is unnecessary , partitionby already defines scope of the row number calculation based on the model
@bloodrain3589
@bloodrain3589 Жыл бұрын
In power query we can create with the help of a group by (all rows ) and without expanding and create custom column for index and remove other columns and expand custom column we will get same
@Rajkumar-kj1vx
@Rajkumar-kj1vx Жыл бұрын
Hi.. Thanks for the new approach. But I am getting the same index value for all the rows belonging to same iPhone like 111,2222 respective to the order. am I missing something..?
@learnwidgiggs
@learnwidgiggs Жыл бұрын
Thanks for checking
@bloodrain3589
@bloodrain3589 Жыл бұрын
@@Rajkumar-kj1vx Group by product with all rows and create custom column with (table.addindexcolumn) and remove the other 2 columns and expand the custom column
@AYuvaraj-ju2qh
@AYuvaraj-ju2qh Ай бұрын
Hello shashank, If you have same product and same supplier in table ,the result should be not from 1 and grouping also not given this kind of result properly.
@guruprakashram2868
@guruprakashram2868 2 ай бұрын
Index = RANKX( ALLEXCEPT(YourTable, YourTable[Apple Phone]), YourTable[Supplier], , ASC, Dense )
@sourabhpatel3834
@sourabhpatel3834 6 ай бұрын
=ROWNUMBER( ORDERBY(supplier) , PARTITIONBY(model))
@shreyasvibhute3102
@shreyasvibhute3102 6 ай бұрын
Is it working
@sourabhpatel3834
@sourabhpatel3834 6 ай бұрын
@@shreyasvibhute3102 yes it will work
@vishalsonawane.8905
@vishalsonawane.8905 5 ай бұрын
Great. Yes Its working i have try now
@PiyushKumar-tv6dr
@PiyushKumar-tv6dr 5 ай бұрын
what is the first argument here? the above code doesn't work
@TarunDhimanOfficial
@TarunDhimanOfficial 4 ай бұрын
IndexColumn = RANKX( FILTER( 'Table 4', EARLIER('Table 4'[Apple Iphone]) = 'Table 4'[Apple Iphone] ), 'Table 4'[Supplier], , ASC, Dense ) Shashank! This might give the similar answer also
@learnwidgiggs
@learnwidgiggs 4 ай бұрын
Plz try once practically..if it gives the same result then it's great 👍
@TarunDhimanOfficial
@TarunDhimanOfficial 4 ай бұрын
@@learnwidgiggs It is working fine.
@kamalgautam3665
@kamalgautam3665 Жыл бұрын
Hi, what if the suppliers are not in asc/desc order, and still we want index in order..how to solve this?
@learnwidgiggs
@learnwidgiggs Жыл бұрын
I believe in that scenario also the discussed DAX code should work
@rahulwankhede8228
@rahulwankhede8228 Ай бұрын
What if the iran is there
@dileepkv3124
@dileepkv3124 Жыл бұрын
Hello Shashank..apart from this being an interview question, what is the purpose of this index? I mean i didn;t understand why this is required or rather what purpose does it serve?
@learnwidgiggs
@learnwidgiggs Жыл бұрын
In real life scenarios also it is quite handy sometimes.
@krantikumar894
@krantikumar894 Жыл бұрын
In ''Apple Phone'' column we have only two categories, but if multiple categories then wt is the solution like iphone X, 10,11,12,13 and 14.
@learnwidgiggs
@learnwidgiggs Жыл бұрын
It would work correct I believe
@namitamehta-sb9hf
@namitamehta-sb9hf Жыл бұрын
Hi Shashank, What if the suppliers are not in asc order, and still we want index in order. `
@learnwidgiggs
@learnwidgiggs Жыл бұрын
I believe in that scenario also the discussed DAX code should work
@HappyAnalysing
@HappyAnalysing Жыл бұрын
The solution only work if the if the suppliers are in asc order. Otherwise, the calculated index column will give values based on suppliers ascending order, hence your index column values will be in random order in each "Apple Phone" section.
@hey_its_anoy
@hey_its_anoy Жыл бұрын
hii shashank sir... like in power bi... is null count in inner join in SQL? i m confused in that perticular pbi scenario and Sql scenario
@learnwidgiggs
@learnwidgiggs Жыл бұрын
Null is equal to null in power bi but in sql null is ignored during inner join
@hey_its_anoy
@hey_its_anoy Жыл бұрын
@@learnwidgiggs yes sir. Thank you 💎🙏
@sapnataneja_88
@sapnataneja_88 Ай бұрын
I am getting error with same code Indexing_to_allproducts_Subcategory = CALCULATE(COUNT(Sales_Data[Product Sub Category]), FILTER(Sales_Data,EARLIER(Sales_Data[Product Category]=Sales_Data[Product Category] && EARLIER(Sales_Data[Product Sub Category]>=Sales_Data[Product Sub Category])))) can you help me to find solution
@sapnataneja_88
@sapnataneja_88 Ай бұрын
error is Cannot nest EARLIER/EARLIEST functions.
Smart Sigma Kid #funny #sigma #comedy
00:25
CRAZY GREAPA
Рет қаралды 11 МЛН
1 or 2?🐄
00:12
Kan Andrey
Рет қаралды 36 МЛН
Interview and Client Interview
8:23
Xpressurdata
Рет қаралды 7 М.
EARLIER Function in DAX
15:46
Goodly
Рет қаралды 37 М.
KPMG: Scenario based Power BI Interview Question | DAX | Window()
7:59
DO NOT IGNORE | Managerial Round | Power BI Interview | Must Watch
6:10
How I Became a Data Analyst & Got a Job! (No CS Degree)
8:47
All vs Allselected vs Allexcept DAX | Power BI Interview
12:25
LearnWidGiggs
Рет қаралды 18 М.