Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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?
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
11 | |
9 | |
8 | |
8 |