Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Really appreciated it if you can help with this.
I have table A that looks like this
| Category | Target |
| A | 2 |
| A | 12 |
| B | 11 |
| B | 23 |
| C | 23 |
| C | 11 |
I have created/generated another table "Deviation" from Table A
Variation =
VAR MinNumber = FLOOR([X-3σ],.05)
VAR MaxNumber = CEILING([X+3σ],.05)
RETURN
SELECTCOLUMNS (
CALENDAR ( MinNumber, MaxNumber ),
"Deviation", INT ( [Date] )
)
My problem is - I can connect Table A to Table " Variation" so that I can slice by Category ( example: select only category A - should also change the [deviation] result - Is there a way I can connect my category in table A - i.e [daviation].
Thanks in advance
Hi @Anonymous ,
Try including CATEGORY column from Table A to new Table B. (Add to your SELECTCOLUMNS statement)
Then create a relationship on this CATEGORY column between these 2 tables.
Thanks,
Pragati
Thanks, .. I believe your suggestion will be :
VAR MinNumber = FLOOR([X-3σ],.05) VAR MaxNumber = CEILING([X+3σ],.05) RETURN SELECTCOLUMNS ( CALENDAR ( MinNumber, MaxNumber ), "Deviation", INT ( [Date] ), ('table A'[catogry] )
To make it more clear : You will get the same result [ daviation] if you make a selection.
Hi @Anonymous ,
Can you tell me what's the logic behind the following part of your DAX:
SELECTCOLUMNS (
CALENDAR ( MinNumber, MaxNumber ),
"Deviation", INT ( [Date] )
)
I don't understand why a new table is created. It's just measures and you could have done them in TABLE1 itself.
table2 =
VAR MinNumber = FLOOR([X-3σ],.00001)
VAR MaxNumber = CEILING([X+3σ],.00001)
RETURN
SELECTCOLUMNS (
CALENDAR ( MinNumber, MaxNumber ),
"X", INT ( [Date] )
)
If We Can we generate X without creating another table? I don't know that
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.