Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello
I need help on a table.
I would like to add a calculated column that gives me back a D or R value.
R if the value is not double.
D if the value is doubled
Here are the columns
id users | Room | Year | Column measured |
id111 | 1 | 2010 | |
id333 | 1 | 2010 | |
id1111 | 1 | 2011 | D |
id333 | 2 | 2011 | R |
i know the algorithm, but i dont scrive this in dax
i must to look if my room users is same than one year ago, if yes the result will be D or not then result is R
i think to use parallellperiod or sameperiodlast year, but i'm blocked on filter to use that
Sorry for my english
i hope someone will can to help me
Regards
Solved! Go to Solution.
Thx for you help, i just modified year +1 on year -1 for result D on first... in my case.. room student...
For understand, if i want compare two values, i must to create variable if i want filter?
Hi @Yannick_M
Thanks for reaching out to us.
I just want to confirm if you resolved this issue? If yes, you can accept the answer helpful as the solution or share you method and accept it as solution, thanks for your contribution to improve Power BI.
If you need more help, please let me know.
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Hi @Yannick_M
you can try to create a new column with this:
i tried and it worked like this:
Thx for you help, i just modified year +1 on year -1 for result D on first... in my case.. room student...
For understand, if i want compare two values, i must to create variable if i want filter?
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
10 | |
6 |